diff options
author | Joe Perches <joe@perches.com> | 2013-09-23 14:37:59 -0400 |
---|---|---|
committer | Joe Perches <joe@perches.com> | 2013-09-24 15:54:08 -0400 |
commit | d6cc64ef73f74edfc485fefb5e6dc2ba625bd675 (patch) | |
tree | 14290fd94e89da0f49c12ffbda6e70af530b8c49 /drivers/net/ethernet/stmicro/stmmac/common.h | |
parent | 00aef9867ee9d0de8380c3e65c1ca41698fc9949 (diff) |
stmicro: Remove extern from function prototypes
There are a mix of function prototypes with and without extern
in the kernel sources. Standardize on not using extern for
function prototypes.
Function prototypes don't need to be written with extern.
extern is assumed by the compiler. Its use is as unnecessary as
using auto to declare automatic/local variables in a block.
Signed-off-by: Joe Perches <joe@perches.com>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/common.h')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/common.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/common.h b/drivers/net/ethernet/stmicro/stmmac/common.h index 7eb8babed2cb..fc94f202a43e 100644 --- a/drivers/net/ethernet/stmicro/stmmac/common.h +++ b/drivers/net/ethernet/stmicro/stmmac/common.h | |||
@@ -451,14 +451,14 @@ struct mac_device_info { | |||
451 | struct mac_device_info *dwmac1000_setup(void __iomem *ioaddr); | 451 | struct mac_device_info *dwmac1000_setup(void __iomem *ioaddr); |
452 | struct mac_device_info *dwmac100_setup(void __iomem *ioaddr); | 452 | struct mac_device_info *dwmac100_setup(void __iomem *ioaddr); |
453 | 453 | ||
454 | extern void stmmac_set_mac_addr(void __iomem *ioaddr, u8 addr[6], | 454 | void stmmac_set_mac_addr(void __iomem *ioaddr, u8 addr[6], |
455 | unsigned int high, unsigned int low); | 455 | unsigned int high, unsigned int low); |
456 | extern void stmmac_get_mac_addr(void __iomem *ioaddr, unsigned char *addr, | 456 | void stmmac_get_mac_addr(void __iomem *ioaddr, unsigned char *addr, |
457 | unsigned int high, unsigned int low); | 457 | unsigned int high, unsigned int low); |
458 | 458 | ||
459 | extern void stmmac_set_mac(void __iomem *ioaddr, bool enable); | 459 | void stmmac_set_mac(void __iomem *ioaddr, bool enable); |
460 | 460 | ||
461 | extern void dwmac_dma_flush_tx_fifo(void __iomem *ioaddr); | 461 | void dwmac_dma_flush_tx_fifo(void __iomem *ioaddr); |
462 | extern const struct stmmac_ring_mode_ops ring_mode_ops; | 462 | extern const struct stmmac_ring_mode_ops ring_mode_ops; |
463 | extern const struct stmmac_chain_mode_ops chain_mode_ops; | 463 | extern const struct stmmac_chain_mode_ops chain_mode_ops; |
464 | 464 | ||