summaryrefslogtreecommitdiffstats
path: root/drivers/net/fec.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-04-15 01:32:16 +0000
committerDavid S. Miller <davem@davemloft.net>2009-04-16 02:34:48 -0700
commit2e28532f7e63c3011f7b3c1516cfebd5321bdd15 (patch)
treeb164c335b57ea5e5e4cd92f68fb64b600ac308f5 /drivers/net/fec.h
parentf44d6305280378cb34319e0118e18d84cc7ac773 (diff)
fec: do not typedef struct types
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/fec.h')
-rw-r--r--drivers/net/fec.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/fec.h b/drivers/net/fec.h
index 5474ba39d46..30b7dd67133 100644
--- a/drivers/net/fec.h
+++ b/drivers/net/fec.h
@@ -77,17 +77,17 @@
* Define the buffer descriptor structure.
*/
#ifdef CONFIG_ARCH_MXC
-typedef struct bufdesc {
+struct bufdesc {
unsigned short cbd_datlen; /* Data length */
unsigned short cbd_sc; /* Control and status info */
unsigned long cbd_bufaddr; /* Buffer address */
-} cbd_t;
+};
#else
-typedef struct bufdesc {
+struct bufdesc {
unsigned short cbd_sc; /* Control and status info */
unsigned short cbd_datlen; /* Data length */
unsigned long cbd_bufaddr; /* Buffer address */
-} cbd_t;
+};
#endif
/*