From 2be63b878f2a1e6d939b05f4f5cb733cb39bcd22 Mon Sep 17 00:00:00 2001 From: "Jorge Boncompte [DTI2]" Date: Tue, 17 Jun 2008 16:18:49 -0700 Subject: atm: [iphase] move struct suni_priv to suni.h Signed-off-by: Jorge Boncompte [DTI2] Signed-off-by: Chas Williams Signed-off-by: David S. Miller --- drivers/atm/iphase.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'drivers/atm/iphase.c') diff --git a/drivers/atm/iphase.c b/drivers/atm/iphase.c index 139fce6968a6..14e4638759a6 100644 --- a/drivers/atm/iphase.c +++ b/drivers/atm/iphase.c @@ -65,12 +65,7 @@ #include "iphase.h" #include "suni.h" #define swap(x) (((x & 0xff) << 8) | ((x & 0xff00) >> 8)) -struct suni_priv { - struct k_sonet_stats sonet_stats; /* link diagnostics */ - unsigned char loop_mode; /* loopback mode */ - struct atm_dev *dev; /* device back-pointer */ - struct suni_priv *next; /* next SUNI */ -}; + #define PRIV(dev) ((struct suni_priv *) dev->phy_data) static unsigned char ia_phy_get(struct atm_dev *dev, unsigned long addr); -- cgit v1.2.3