ar71xx: fix more section mismatches
SVN-Revision: 23575
This commit is contained in:
parent
8858d90afe
commit
6656450c6d
4 changed files with 9 additions and 9 deletions
|
@ -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;
|
struct ar7240sw *as;
|
||||||
|
|
||||||
|
@ -838,7 +838,7 @@ int __init ag71xx_ar7240_init(struct ag71xx *ag)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void __exit ag71xx_ar7240_cleanup(struct ag71xx *ag)
|
void __devexit ag71xx_ar7240_cleanup(struct ag71xx *ag)
|
||||||
{
|
{
|
||||||
struct ar7240sw *as = ag->phy_priv;
|
struct ar7240sw *as = ag->phy_priv;
|
||||||
|
|
||||||
|
|
|
@ -990,7 +990,7 @@ static const struct net_device_ops ag71xx_netdev_ops = {
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init ag71xx_probe(struct platform_device *pdev)
|
static int __devinit ag71xx_probe(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
struct net_device *dev;
|
struct net_device *dev;
|
||||||
struct resource *res;
|
struct resource *res;
|
||||||
|
@ -1122,7 +1122,7 @@ static int __init ag71xx_probe(struct platform_device *pdev)
|
||||||
return err;
|
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);
|
struct net_device *dev = platform_get_drvdata(pdev);
|
||||||
|
|
||||||
|
|
|
@ -133,7 +133,7 @@ static int ag71xx_mdio_write(struct mii_bus *bus, int addr, int reg, u16 val)
|
||||||
return 0;
|
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_platform_data *pdata;
|
||||||
struct ag71xx_mdio *am;
|
struct ag71xx_mdio *am;
|
||||||
|
@ -209,7 +209,7 @@ static int __init ag71xx_mdio_probe(struct platform_device *pdev)
|
||||||
return err;
|
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);
|
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);
|
return platform_driver_register(&ag71xx_mdio_driver);
|
||||||
}
|
}
|
||||||
|
|
|
@ -190,7 +190,7 @@ static struct mii_bus *dev_to_mii_bus(struct device *dev)
|
||||||
return NULL;
|
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);
|
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);
|
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);
|
struct ag71xx_platform_data *pdata = ag71xx_get_pdata(ag);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue