wifi: modify rfkill_wlan_driver match table's name.
authorgwl <gwl@rock-chips.com>
Mon, 3 Mar 2014 01:27:24 +0000 (09:27 +0800)
committergwl <gwl@rock-chips.com>
Mon, 3 Mar 2014 01:28:35 +0000 (09:28 +0800)
net/rfkill/rfkill-wlan.c

index 2253ad87d7ffcc64867451f5d068bd38e5dcd707..8f2694b4680429886863920aee72edaf399c3f83 100755 (executable)
@@ -620,7 +620,7 @@ static int rfkill_wlan_resume(struct platform_device *pdev)
 }
 
 #ifdef CONFIG_OF
-static struct of_device_id pwm_backlight_of_match[] = {
+static struct of_device_id wlan_platdata_of_match[] = {
     { .compatible = "wlan-platdata" },
     { }
 };
@@ -635,7 +635,7 @@ static struct platform_driver rfkill_wlan_driver = {
        .driver = {
                .name = "wlan-platdata",
                .owner = THIS_MODULE,
-        .of_match_table = of_match_ptr(pwm_backlight_of_match),
+        .of_match_table = of_match_ptr(wlan_platdata_of_match),
        },
 };