diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2014-05-30 15:39:30 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-02 16:45:34 -0700 |
commit | 3afc557d77d090adbabe52c0f40f11626709b37a (patch) | |
tree | 10b5c4dd3b0b12475cc41b6ccbf8322df281e17f /drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | |
parent | 30f38d2fdd79f13fc929489f7e6e517b4a4bfe63 (diff) |
drivers/net: fix broadcom/bcmsysport.c compile fail on SPARC
To fix:
CC drivers/net/ethernet/broadcom/bcmsysport.o
In file included from drivers/net/ethernet/broadcom/bcmsysport.c:28:0:
drivers/net/ethernet/broadcom/bcmsysport.h:41:8: error: redefinition of 'struct tsb'
arch/sparc/include/asm/mmu_64.h:65:8: note: originally defined here
make[1]: *** [drivers/net/ethernet/broadcom/bcmsysport.o] Error 1
we change struct tsb to struct bcm_tsb in the broadcom driver in
order to avoid the namespace collision. For consistency, we also
change struct rsb to struct bcm_rsb, so the Rx/Tx symmetry is
maintained.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c')
0 files changed, 0 insertions, 0 deletions