aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sun3lance.c
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-07-17 05:19:24 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-07-29 16:55:03 -0400
commitc0b6a1c9be3acac0f600072ebc2bc6ad3d8c8f76 (patch)
treecdcd8e28737d0f9c89a97789f4888d3e655bd317 /drivers/net/sun3lance.c
parentfb904907fb1a02a64af9f2d1fb1ef35d963231f9 (diff)
iwlwifi: compilation error when CONFIG_IWLWIFI_DEBUG is not set
CC [M] drivers/net/wireless/iwlwifi/iwl-rfkill.o 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.) The problem is that led_type_str is defined under CONFIG_IWLWIFI_DEBUG while IWL_DEBUG is a static inline function in this case. Replace it with macro. Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/sun3lance.c')
0 files changed, 0 insertions, 0 deletions