提交 49f7315b 编写于 作者: B Bill Pemberton 提交者: Greg Kroah-Hartman

bfin_mac: remove __dev* attributes

CONFIG_HOTPLUG is going away as an option.  As result the __dev*
markings will be going away.

Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
and __devexit.
Signed-off-by: NBill Pemberton <wfp5p@virginia.edu>
Cc: uclinux-dist-devel@blackfin.uclinux.org
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 d3ace588
...@@ -1603,7 +1603,7 @@ static const struct net_device_ops bfin_mac_netdev_ops = { ...@@ -1603,7 +1603,7 @@ static const struct net_device_ops bfin_mac_netdev_ops = {
#endif #endif
}; };
static int __devinit bfin_mac_probe(struct platform_device *pdev) static int bfin_mac_probe(struct platform_device *pdev)
{ {
struct net_device *ndev; struct net_device *ndev;
struct bfin_mac_local *lp; struct bfin_mac_local *lp;
...@@ -1727,7 +1727,7 @@ static int __devinit bfin_mac_probe(struct platform_device *pdev) ...@@ -1727,7 +1727,7 @@ static int __devinit bfin_mac_probe(struct platform_device *pdev)
return rc; return rc;
} }
static int __devexit bfin_mac_remove(struct platform_device *pdev) static int bfin_mac_remove(struct platform_device *pdev)
{ {
struct net_device *ndev = platform_get_drvdata(pdev); struct net_device *ndev = platform_get_drvdata(pdev);
struct bfin_mac_local *lp = netdev_priv(ndev); struct bfin_mac_local *lp = netdev_priv(ndev);
...@@ -1786,7 +1786,7 @@ static int bfin_mac_resume(struct platform_device *pdev) ...@@ -1786,7 +1786,7 @@ static int bfin_mac_resume(struct platform_device *pdev)
#define bfin_mac_resume NULL #define bfin_mac_resume NULL
#endif /* CONFIG_PM */ #endif /* CONFIG_PM */
static int __devinit bfin_mii_bus_probe(struct platform_device *pdev) static int bfin_mii_bus_probe(struct platform_device *pdev)
{ {
struct mii_bus *miibus; struct mii_bus *miibus;
struct bfin_mii_bus_platform_data *mii_bus_pd; struct bfin_mii_bus_platform_data *mii_bus_pd;
...@@ -1864,7 +1864,7 @@ static int __devinit bfin_mii_bus_probe(struct platform_device *pdev) ...@@ -1864,7 +1864,7 @@ static int __devinit bfin_mii_bus_probe(struct platform_device *pdev)
return rc; return rc;
} }
static int __devexit bfin_mii_bus_remove(struct platform_device *pdev) static int bfin_mii_bus_remove(struct platform_device *pdev)
{ {
struct mii_bus *miibus = platform_get_drvdata(pdev); struct mii_bus *miibus = platform_get_drvdata(pdev);
struct bfin_mii_bus_platform_data *mii_bus_pd = struct bfin_mii_bus_platform_data *mii_bus_pd =
...@@ -1881,7 +1881,7 @@ static int __devexit bfin_mii_bus_remove(struct platform_device *pdev) ...@@ -1881,7 +1881,7 @@ static int __devexit bfin_mii_bus_remove(struct platform_device *pdev)
static struct platform_driver bfin_mii_bus_driver = { static struct platform_driver bfin_mii_bus_driver = {
.probe = bfin_mii_bus_probe, .probe = bfin_mii_bus_probe,
.remove = __devexit_p(bfin_mii_bus_remove), .remove = bfin_mii_bus_remove,
.driver = { .driver = {
.name = "bfin_mii_bus", .name = "bfin_mii_bus",
.owner = THIS_MODULE, .owner = THIS_MODULE,
...@@ -1890,7 +1890,7 @@ static struct platform_driver bfin_mii_bus_driver = { ...@@ -1890,7 +1890,7 @@ static struct platform_driver bfin_mii_bus_driver = {
static struct platform_driver bfin_mac_driver = { static struct platform_driver bfin_mac_driver = {
.probe = bfin_mac_probe, .probe = bfin_mac_probe,
.remove = __devexit_p(bfin_mac_remove), .remove = bfin_mac_remove,
.resume = bfin_mac_resume, .resume = bfin_mac_resume,
.suspend = bfin_mac_suspend, .suspend = bfin_mac_suspend,
.driver = { .driver = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册