diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2400pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2400pci.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c index 0083e7e7dfcc..08cb9eec16a6 100644 --- a/drivers/net/wireless/rt2x00/rt2400pci.c +++ b/drivers/net/wireless/rt2x00/rt2400pci.c | |||
@@ -243,7 +243,7 @@ static int rt2400pci_rfkill_poll(struct rt2x00_dev *rt2x00dev) | |||
243 | #define rt2400pci_rfkill_poll NULL | 243 | #define rt2400pci_rfkill_poll NULL |
244 | #endif /* CONFIG_RT2X00_LIB_RFKILL */ | 244 | #endif /* CONFIG_RT2X00_LIB_RFKILL */ |
245 | 245 | ||
246 | #ifdef CONFIG_RT2400PCI_LEDS | 246 | #ifdef CONFIG_RT2X00_LIB_LEDS |
247 | static void rt2400pci_brightness_set(struct led_classdev *led_cdev, | 247 | static void rt2400pci_brightness_set(struct led_classdev *led_cdev, |
248 | enum led_brightness brightness) | 248 | enum led_brightness brightness) |
249 | { | 249 | { |
@@ -288,7 +288,7 @@ static void rt2400pci_init_led(struct rt2x00_dev *rt2x00dev, | |||
288 | led->led_dev.blink_set = rt2400pci_blink_set; | 288 | led->led_dev.blink_set = rt2400pci_blink_set; |
289 | led->flags = LED_INITIALIZED; | 289 | led->flags = LED_INITIALIZED; |
290 | } | 290 | } |
291 | #endif /* CONFIG_RT2400PCI_LEDS */ | 291 | #endif /* CONFIG_RT2X00_LIB_LEDS */ |
292 | 292 | ||
293 | /* | 293 | /* |
294 | * Configuration handlers. | 294 | * Configuration handlers. |
@@ -1374,14 +1374,14 @@ static int rt2400pci_init_eeprom(struct rt2x00_dev *rt2x00dev) | |||
1374 | /* | 1374 | /* |
1375 | * Store led mode, for correct led behaviour. | 1375 | * Store led mode, for correct led behaviour. |
1376 | */ | 1376 | */ |
1377 | #ifdef CONFIG_RT2400PCI_LEDS | 1377 | #ifdef CONFIG_RT2X00_LIB_LEDS |
1378 | value = rt2x00_get_field16(eeprom, EEPROM_ANTENNA_LED_MODE); | 1378 | value = rt2x00_get_field16(eeprom, EEPROM_ANTENNA_LED_MODE); |
1379 | 1379 | ||
1380 | rt2400pci_init_led(rt2x00dev, &rt2x00dev->led_radio, LED_TYPE_RADIO); | 1380 | rt2400pci_init_led(rt2x00dev, &rt2x00dev->led_radio, LED_TYPE_RADIO); |
1381 | if (value == LED_MODE_TXRX_ACTIVITY) | 1381 | if (value == LED_MODE_TXRX_ACTIVITY) |
1382 | rt2400pci_init_led(rt2x00dev, &rt2x00dev->led_qual, | 1382 | rt2400pci_init_led(rt2x00dev, &rt2x00dev->led_qual, |
1383 | LED_TYPE_ACTIVITY); | 1383 | LED_TYPE_ACTIVITY); |
1384 | #endif /* CONFIG_RT2400PCI_LEDS */ | 1384 | #endif /* CONFIG_RT2X00_LIB_LEDS */ |
1385 | 1385 | ||
1386 | /* | 1386 | /* |
1387 | * Detect if this device has an hardware controlled radio. | 1387 | * Detect if this device has an hardware controlled radio. |