rt2x00: remove needless ifdefs from rt2x00leds.h
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Acked-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
d07624f191
commit
b35686d0b2
@@ -33,8 +33,6 @@ enum led_type {
|
|||||||
LED_TYPE_QUALITY,
|
LED_TYPE_QUALITY,
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef CONFIG_RT2X00_LIB_LEDS
|
|
||||||
|
|
||||||
struct rt2x00_led {
|
struct rt2x00_led {
|
||||||
struct rt2x00_dev *rt2x00dev;
|
struct rt2x00_dev *rt2x00dev;
|
||||||
struct led_classdev led_dev;
|
struct led_classdev led_dev;
|
||||||
@@ -45,6 +43,4 @@ struct rt2x00_led {
|
|||||||
#define LED_REGISTERED ( 1 << 1 )
|
#define LED_REGISTERED ( 1 << 1 )
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* CONFIG_RT2X00_LIB_LEDS */
|
|
||||||
|
|
||||||
#endif /* RT2X00LEDS_H */
|
#endif /* RT2X00LEDS_H */
|
||||||
|
Reference in New Issue
Block a user