forked from Ivasoft/openwrt
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
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user