Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- compat/compat-2.6.37.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/compat/compat-2.6.37.c b/compat/compat-2.6.37.c index 48707ff..a522b4e 100644 --- a/compat/compat-2.6.37.c +++ b/compat/compat-2.6.37.c @@ -152,7 +152,7 @@ int compat_genl_unregister_family(struct genl_family *family) } EXPORT_SYMBOL(compat_genl_unregister_family); -#ifdef CONFIG_LEDS_CLASS +#if defined(CONFIG_LEDS_CLASS) || defined(CONFIG_LEDS_CLASS_MODULE) #undef led_brightness_set #undef led_classdev_unregister -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html