diff options
author | Helen Fornazier <helen.fornazier@gmail.com> | 2015-03-26 03:11:44 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-26 12:40:32 +0300 |
commit | 0270c6257701a33262239ffc38442f18ae047d98 (patch) | |
tree | bc391eda8f61b2b148153e8d13212b75292d6bf5 /drivers/staging/octeon/ethernet-mdio.h | |
parent | da868b0305c43eaab0e2b3c14807531c5665f0a2 (diff) | |
download | linux-0270c6257701a33262239ffc38442f18ae047d98.tar.xz |
Staging: octeon: Remove extern from .c file
This patch fixes the checkpatch.pl warning:
WARNING: externs should be avoided in .c files
+extern void octeon_mdiobus_force_mod_depencency(void);
Signed-off-by: Helen Fornazier <helen.fornazier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/octeon/ethernet-mdio.h')
-rw-r--r-- | drivers/staging/octeon/ethernet-mdio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/octeon/ethernet-mdio.h b/drivers/staging/octeon/ethernet-mdio.h index eccfcc54cea8..6191b0850646 100644 --- a/drivers/staging/octeon/ethernet-mdio.h +++ b/drivers/staging/octeon/ethernet-mdio.h @@ -40,5 +40,8 @@ #endif /* CONFIG_XFRM */ extern const struct ethtool_ops cvm_oct_ethtool_ops; + +extern void octeon_mdiobus_force_mod_depencency(void); + int cvm_oct_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); int cvm_oct_phy_setup_device(struct net_device *dev); |