From: Gabor Juhos Date: Wed, 23 Sep 2009 17:43:57 +0000 (+0000) Subject: ar71xx: remove some extern directives in the ag71xx driver X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6ed55b43d7bea90387c8f330ea92a516cc971da6;p=openwrt%2Fstaging%2Fwigyori.git ar71xx: remove some extern directives in the ag71xx driver SVN-Revision: 17692 --- diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h index dd19f44677..39a348a760 100644 --- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h +++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h @@ -136,13 +136,13 @@ struct ag71xx { extern struct ethtool_ops ag71xx_ethtool_ops; extern struct ag71xx_mdio *ag71xx_mdio_bus; -extern int ag71xx_mdio_driver_init(void) __init; -extern void ag71xx_mdio_driver_exit(void); +int ag71xx_mdio_driver_init(void) __init; +void ag71xx_mdio_driver_exit(void); -extern int ag71xx_phy_connect(struct ag71xx *ag); -extern void ag71xx_phy_disconnect(struct ag71xx *ag); -extern void ag71xx_phy_start(struct ag71xx *ag); -extern void ag71xx_phy_stop(struct ag71xx *ag); +int ag71xx_phy_connect(struct ag71xx *ag); +void ag71xx_phy_disconnect(struct ag71xx *ag); +void ag71xx_phy_start(struct ag71xx *ag); +void ag71xx_phy_stop(struct ag71xx *ag); static inline struct ag71xx_platform_data *ag71xx_get_pdata(struct ag71xx *ag) {