ar71xx: fix more section mismatches

SVN-Revision: 23575
lede-17.01
Felix Fietkau 2010-10-21 18:42:16 +00:00
parent 8858d90afe
commit 6656450c6d
4 changed files with 9 additions and 9 deletions

View File

@ -824,7 +824,7 @@ void ag71xx_ar7240_stop(struct ag71xx *ag)
{
}
int __init ag71xx_ar7240_init(struct ag71xx *ag)
int __devinit ag71xx_ar7240_init(struct ag71xx *ag)
{
struct ar7240sw *as;
@ -838,7 +838,7 @@ int __init ag71xx_ar7240_init(struct ag71xx *ag)
return 0;
}
void __exit ag71xx_ar7240_cleanup(struct ag71xx *ag)
void __devexit ag71xx_ar7240_cleanup(struct ag71xx *ag)
{
struct ar7240sw *as = ag->phy_priv;

View File

@ -990,7 +990,7 @@ static const struct net_device_ops ag71xx_netdev_ops = {
#endif
};
static int __init ag71xx_probe(struct platform_device *pdev)
static int __devinit ag71xx_probe(struct platform_device *pdev)
{
struct net_device *dev;
struct resource *res;
@ -1122,7 +1122,7 @@ static int __init ag71xx_probe(struct platform_device *pdev)
return err;
}
static int __exit ag71xx_remove(struct platform_device *pdev)
static int __devexit ag71xx_remove(struct platform_device *pdev)
{
struct net_device *dev = platform_get_drvdata(pdev);

View File

@ -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);
}

View File

@ -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);