1 --- a/drivers/net/wireless/rt2x00/rt2800pci.c
2 +++ b/drivers/net/wireless/rt2x00/rt2800pci.c
3 @@ -1179,7 +1179,7 @@ MODULE_DEVICE_TABLE(pci, rt2800pci_devic
4 #endif /* CONFIG_PCI */
7 -#if defined(CONFIG_RALINK_RT288X) || defined(CONFIG_RALINK_RT305X)
8 +#if defined(CONFIG_SOC_RT288X) || defined(CONFIG_SOC_RT305X)
9 static int rt2800soc_probe(struct platform_device *pdev)
11 return rt2x00soc_probe(pdev, &rt2800pci_ops);
12 @@ -1203,7 +1203,7 @@ static struct platform_driver rt2800soc_
13 .suspend = rt2x00soc_suspend,
14 .resume = rt2x00soc_resume,
16 -#endif /* CONFIG_RALINK_RT288X || CONFIG_RALINK_RT305X */
17 +#endif /* CONFIG_SOC_RT288X || CONFIG_SOC_RT305X */
20 static int rt2800pci_probe(struct pci_dev *pci_dev,
21 @@ -1226,7 +1226,7 @@ static int __init rt2800pci_init(void)
25 -#if defined(CONFIG_RALINK_RT288X) || defined(CONFIG_RALINK_RT305X)
26 +#if defined(CONFIG_SOC_RT288X) || defined(CONFIG_SOC_RT305X)
27 ret = platform_driver_register(&rt2800soc_driver);
30 @@ -1234,7 +1234,7 @@ static int __init rt2800pci_init(void)
32 ret = pci_register_driver(&rt2800pci_driver);
34 -#if defined(CONFIG_RALINK_RT288X) || defined(CONFIG_RALINK_RT305X)
35 +#if defined(CONFIG_SOC_RT288X) || defined(CONFIG_SOC_RT305X)
36 platform_driver_unregister(&rt2800soc_driver);
39 @@ -1249,7 +1249,7 @@ static void __exit rt2800pci_exit(void)
41 pci_unregister_driver(&rt2800pci_driver);
43 -#if defined(CONFIG_RALINK_RT288X) || defined(CONFIG_RALINK_RT305X)
44 +#if defined(CONFIG_SOC_RT288X) || defined(CONFIG_SOC_RT305X)
45 platform_driver_unregister(&rt2800soc_driver);