mirror of
https://github.com/torvalds/linux.git
synced 2024-12-13 14:43:03 +00:00
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>
This commit is contained in:
parent
da868b0305
commit
0270c62577
@ -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);
|
||||
|
@ -573,8 +573,6 @@ static const struct net_device_ops cvm_oct_pow_netdev_ops = {
|
||||
#endif
|
||||
};
|
||||
|
||||
extern void octeon_mdiobus_force_mod_depencency(void);
|
||||
|
||||
static struct device_node *cvm_oct_of_get_child(
|
||||
const struct device_node *parent, int reg_val)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user