diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-01-27 17:48:48 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2013-01-27 17:48:48 +0000 |
commit | 721bf97863757c4add26fe93c7f5487de7ab136a (patch) | |
tree | d444d9ddcfc351d973fe9e8e599e1862049027f3 /target/linux/generic/files/drivers/net/phy/rtl8366s.c | |
parent | ed7ca5d44ed2676c414aa8027787d1cd0989e4a1 (diff) | |
download | upstream-721bf97863757c4add26fe93c7f5487de7ab136a.tar.gz upstream-721bf97863757c4add26fe93c7f5487de7ab136a.tar.bz2 upstream-721bf97863757c4add26fe93c7f5487de7ab136a.zip |
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.
SVN-Revision: 35328
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/rtl8366s.c')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/rtl8366s.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/rtl8366s.c b/target/linux/generic/files/drivers/net/phy/rtl8366s.c index 7d0de7c6a1..196d49e4c6 100644 --- a/target/linux/generic/files/drivers/net/phy/rtl8366s.c +++ b/target/linux/generic/files/drivers/net/phy/rtl8366s.c @@ -1050,7 +1050,7 @@ static struct rtl8366_smi_ops rtl8366s_smi_ops = { .enable_port = rtl8366s_enable_port, }; -static int __devinit rtl8366s_probe(struct platform_device *pdev) +static int rtl8366s_probe(struct platform_device *pdev) { static int rtl8366_smi_version_printed; struct rtl8366_smi *smi; @@ -1094,7 +1094,7 @@ static int __devinit rtl8366s_probe(struct platform_device *pdev) return err; } -static int __devexit rtl8366s_remove(struct platform_device *pdev) +static int rtl8366s_remove(struct platform_device *pdev) { struct rtl8366_smi *smi = platform_get_drvdata(pdev); @@ -1125,7 +1125,7 @@ static struct platform_driver rtl8366s_driver = { #endif }, .probe = rtl8366s_probe, - .remove = __devexit_p(rtl8366s_remove), + .remove = rtl8366s_remove, }; static int __init rtl8366s_module_init(void) |