summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_phy.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-10-21 18:42:16 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-10-21 18:42:16 +0000
commit6656450c6dbf2108497a69bb0e02db2b8176c7e4 (patch)
tree3b5c76821a6eef97127c6dcf17c0961b22fdf344 /target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_phy.c
parent8858d90afe5a6747f3b96c369a1a64ad25f4d0ad (diff)
downloadmaster-31e0f0ae-6656450c6dbf2108497a69bb0e02db2b8176c7e4.tar.gz
master-31e0f0ae-6656450c6dbf2108497a69bb0e02db2b8176c7e4.tar.bz2
master-31e0f0ae-6656450c6dbf2108497a69bb0e02db2b8176c7e4.zip
ar71xx: fix more section mismatches
SVN-Revision: 23575
Diffstat (limited to 'target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_phy.c')
-rw-r--r--target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_phy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_phy.c b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_phy.c
index eada693e77..d70aaf0921 100644
--- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_phy.c
+++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_phy.c
@@ -190,7 +190,7 @@ static struct mii_bus *dev_to_mii_bus(struct device *dev)
return NULL;
}
-int ag71xx_phy_connect(struct ag71xx *ag)
+int __devinit ag71xx_phy_connect(struct ag71xx *ag)
{
struct ag71xx_platform_data *pdata = ag71xx_get_pdata(ag);
@@ -217,7 +217,7 @@ int ag71xx_phy_connect(struct ag71xx *ag)
return ag71xx_phy_connect_fixed(ag);
}
-void ag71xx_phy_disconnect(struct ag71xx *ag)
+void __devexit ag71xx_phy_disconnect(struct ag71xx *ag)
{
struct ag71xx_platform_data *pdata = ag71xx_get_pdata(ag);