diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-04-14 21:32:16 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-16 05:34:48 -0400 |
commit | 2e28532f7e63c3011f7b3c1516cfebd5321bdd15 (patch) | |
tree | b164c335b57ea5e5e4cd92f68fb64b600ac308f5 /drivers/net/fec.h | |
parent | f44d6305280378cb34319e0118e18d84cc7ac773 (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.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/fec.h b/drivers/net/fec.h index 5474ba39d46c..30b7dd671336 100644 --- a/drivers/net/fec.h +++ b/drivers/net/fec.h | |||
@@ -77,17 +77,17 @@ | |||
77 | * Define the buffer descriptor structure. | 77 | * Define the buffer descriptor structure. |
78 | */ | 78 | */ |
79 | #ifdef CONFIG_ARCH_MXC | 79 | #ifdef CONFIG_ARCH_MXC |
80 | typedef struct bufdesc { | 80 | struct bufdesc { |
81 | unsigned short cbd_datlen; /* Data length */ | 81 | unsigned short cbd_datlen; /* Data length */ |
82 | unsigned short cbd_sc; /* Control and status info */ | 82 | unsigned short cbd_sc; /* Control and status info */ |
83 | unsigned long cbd_bufaddr; /* Buffer address */ | 83 | unsigned long cbd_bufaddr; /* Buffer address */ |
84 | } cbd_t; | 84 | }; |
85 | #else | 85 | #else |
86 | typedef struct bufdesc { | 86 | struct bufdesc { |
87 | unsigned short cbd_sc; /* Control and status info */ | 87 | unsigned short cbd_sc; /* Control and status info */ |
88 | unsigned short cbd_datlen; /* Data length */ | 88 | unsigned short cbd_datlen; /* Data length */ |
89 | unsigned long cbd_bufaddr; /* Buffer address */ | 89 | unsigned long cbd_bufaddr; /* Buffer address */ |
90 | } cbd_t; | 90 | }; |
91 | #endif | 91 | #endif |
92 | 92 | ||
93 | /* | 93 | /* |