backfire: rt8366*: use __devinit instead of __init for the probe function to fix...
authorGabor Juhos <juhosg@openwrt.org>
Fri, 14 Jan 2011 18:19:09 +0000 (18:19 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 14 Jan 2011 18:19:09 +0000 (18:19 +0000)
SVN-Revision: 24989

target/linux/generic-2.6/files/drivers/net/phy/rtl8366rb.c
target/linux/generic-2.6/files/drivers/net/phy/rtl8366s.c

index b55729bb755f355e434cdc8f8525904066bd5dae..ae6d4292547021563f5c962f1ee13df42ef92022 100644 (file)
@@ -1209,7 +1209,7 @@ static struct rtl8366_smi_ops rtl8366rb_smi_ops = {
        .enable_vlan4k  = rtl8366rb_enable_vlan4k,
 };
 
-static int __init rtl8366rb_probe(struct platform_device *pdev)
+static int __devinit rtl8366rb_probe(struct platform_device *pdev)
 {
        static int rtl8366_smi_version_printed;
        struct rtl8366rb_platform_data *pdata;
index d45e4d76c35cef637ea6d83f98a4b1017aa1e407..f9a4c8c279bbeac329e7f924c0c502921001b35e 100644 (file)
@@ -1027,7 +1027,7 @@ static struct rtl8366_smi_ops rtl8366s_smi_ops = {
        .enable_vlan4k  = rtl8366s_enable_vlan4k,
 };
 
-static int __init rtl8366s_probe(struct platform_device *pdev)
+static int __devinit rtl8366s_probe(struct platform_device *pdev)
 {
        static int rtl8366_smi_version_printed;
        struct rtl8366s_platform_data *pdata;