diff options
author | Alan Cox | 2010-01-18 16:33:18 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2010-03-04 01:42:49 +0100 |
commit | 060a78a07a06d78e64a00a25f4a4a7d5fe7402d1 (patch) | |
tree | e8bc8591c1892c6387434895b6b5b8feeb5c1913 /drivers/staging/et131x/et1310_address_map.h | |
parent | Staging: et131x: GLOBAL_t is now sane so kill the GLOBAL_t itself (diff) | |
download | kernel-qcow2-linux-060a78a07a06d78e64a00a25f4a4a7d5fe7402d1.tar.gz kernel-qcow2-linux-060a78a07a06d78e64a00a25f4a4a7d5fe7402d1.tar.xz kernel-qcow2-linux-060a78a07a06d78e64a00a25f4a4a7d5fe7402d1.zip |
Staging: et131x: Kill off TXDMA_t
All the contents are clean so kill off the top level typedefs
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/et131x/et1310_address_map.h')
-rw-r--r-- | drivers/staging/et131x/et1310_address_map.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/et131x/et1310_address_map.h b/drivers/staging/et131x/et1310_address_map.h index 16254b7603a1..43bd3034d495 100644 --- a/drivers/staging/et131x/et1310_address_map.h +++ b/drivers/staging/et131x/et1310_address_map.h @@ -253,7 +253,7 @@ extern inline void add_12bit(u32 *v, int n) * Tx DMA Module of JAGCore Address Mapping * Located at address 0x1000 */ -typedef struct _TXDMA_t { /* Location: */ +struct txdma_regs { /* Location: */ u32 csr; /* 0x1000 */ u32 pr_base_hi; /* 0x1004 */ u32 pr_base_lo; /* 0x1008 */ @@ -280,7 +280,7 @@ typedef struct _TXDMA_t { /* Location: */ u32 DroppedTLPCount; /* 0x105c */ u32 NewServiceComplete; /* 0x1060 */ u32 EthernetPacketCount; /* 0x1064 */ -} TXDMA_t, *PTXDMA_t; +}; /* END OF TXDMA REGISTER ADDRESS MAP */ @@ -1667,9 +1667,9 @@ typedef struct _ADDRESS_MAP_t { struct global_regs global; /* unused section of global address map */ u8 unused_global[4096 - sizeof(struct global_regs)]; - TXDMA_t txdma; + struct txdma_regs txdma; /* unused section of txdma address map */ - u8 unused_txdma[4096 - sizeof(TXDMA_t)]; + u8 unused_txdma[4096 - sizeof(struct txdma_regs)]; struct rxdma_regs rxdma; /* unused section of rxdma address map */ u8 unused_rxdma[4096 - sizeof(struct rxdma_regs)]; |