diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-10-21 18:42:16 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-10-21 18:42:16 +0000 |
commit | 6da874b3a841d5bbb5727dcd01a750fc35b8b1a5 (patch) | |
tree | f716bab8e48bfa8961e0026c719b4bb4b7a9fb6d /target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_mdio.c | |
parent | c5cabb4673f63737166e61bd4b7e00cb73d28f50 (diff) | |
download | master-187ad058-6da874b3a841d5bbb5727dcd01a750fc35b8b1a5.tar.gz master-187ad058-6da874b3a841d5bbb5727dcd01a750fc35b8b1a5.tar.bz2 master-187ad058-6da874b3a841d5bbb5727dcd01a750fc35b8b1a5.zip |
ar71xx: fix more section mismatches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23575 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_mdio.c')
-rw-r--r-- | target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_mdio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_mdio.c b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_mdio.c index 3984840e03..eda0b5ee5c 100644 --- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_mdio.c +++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_mdio.c @@ -133,7 +133,7 @@ static int ag71xx_mdio_write(struct mii_bus *bus, int addr, int reg, u16 val) return 0; } -static int __init ag71xx_mdio_probe(struct platform_device *pdev) +static int __devinit ag71xx_mdio_probe(struct platform_device *pdev) { struct ag71xx_mdio_platform_data *pdata; struct ag71xx_mdio *am; @@ -209,7 +209,7 @@ static int __init ag71xx_mdio_probe(struct platform_device *pdev) return err; } -static int __exit ag71xx_mdio_remove(struct platform_device *pdev) +static int __devexit ag71xx_mdio_remove(struct platform_device *pdev) { struct ag71xx_mdio *am = platform_get_drvdata(pdev); @@ -232,7 +232,7 @@ static struct platform_driver ag71xx_mdio_driver = { } }; -int ag71xx_mdio_driver_init(void) +int __init ag71xx_mdio_driver_init(void) { return platform_driver_register(&ag71xx_mdio_driver); } |