drivers/net/wireless/iwlwifi/iwl-led.c: In function ‘iwl_led_brightness_set’: drivers/net/wireless/iwlwifi/iwl-led.c:198: error: ‘led_type_str’ undeclared (first use in this function) drivers/net/wireless/iwlwifi/iwl-led.c:198: error: (Each undeclared identifier is reported only once drivers/net/wireless/iwlwifi/iwl-led.c:198: error: for each function it appears in.) Signed-off-by: Andreas Schwab <schwab@xxxxxxx> --- diff --git a/drivers/net/wireless/iwlwifi/iwl-led.c b/drivers/net/wireless/iwlwifi/iwl-led.c index 899d7a2..a58571c 100644 --- a/drivers/net/wireless/iwlwifi/iwl-led.c +++ b/drivers/net/wireless/iwlwifi/iwl-led.c @@ -195,8 +195,10 @@ static void iwl_led_brightness_set(struct led_classdev *led_cdev, return; +#ifdef CONFIG_IWLWIFI_DEBUG IWL_DEBUG_LED("Led type = %s brightness = %d\n", led_type_str[led->type], brightness); +#endif switch (brightness) { case LED_FULL: if (led->type == IWL_LED_TRG_ASSOC) -- Andreas Schwab, SuSE Labs, schwab@xxxxxxx SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- 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