summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/net/phy/rtl8367.c
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-27 17:48:48 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-27 17:48:48 +0000
commit91ba1524d4179b776ff3ae90c22a37eb26827833 (patch)
treeae7fa0b910db3b6d227aa0cf2a254a59fd40d8d6 /target/linux/generic/files/drivers/net/phy/rtl8367.c
parent54d47826560af1347881eb46a6fa1152e937d1b8 (diff)
kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8
These attributes where removed with kernel 3.8 and are now causing compile errors. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35328 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/rtl8367.c')
-rw-r--r--target/linux/generic/files/drivers/net/phy/rtl8367.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/rtl8367.c b/target/linux/generic/files/drivers/net/phy/rtl8367.c
index b225e6750..cd58bbb8f 100644
--- a/target/linux/generic/files/drivers/net/phy/rtl8367.c
+++ b/target/linux/generic/files/drivers/net/phy/rtl8367.c
@@ -1673,7 +1673,7 @@ static struct rtl8366_smi_ops rtl8367_smi_ops = {
.enable_port = rtl8367_enable_port,
};
-static int __devinit rtl8367_probe(struct platform_device *pdev)
+static int rtl8367_probe(struct platform_device *pdev)
{
struct rtl8366_smi *smi;
int err;
@@ -1712,7 +1712,7 @@ static int __devinit rtl8367_probe(struct platform_device *pdev)
return err;
}
-static int __devexit rtl8367_remove(struct platform_device *pdev)
+static int rtl8367_remove(struct platform_device *pdev)
{
struct rtl8366_smi *smi = platform_get_drvdata(pdev);
@@ -1751,7 +1751,7 @@ static struct platform_driver rtl8367_driver = {
#endif
},
.probe = rtl8367_probe,
- .remove = __devexit_p(rtl8367_remove),
+ .remove = rtl8367_remove,
.shutdown = rtl8367_shutdown,
};