aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/rfkill.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/b43/rfkill.c')
-rw-r--r--drivers/net/wireless/b43/rfkill.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/rfkill.c b/drivers/net/wireless/b43/rfkill.c
index 7b9e99adb8c3..96902da7d661 100644
--- a/drivers/net/wireless/b43/rfkill.c
+++ b/drivers/net/wireless/b43/rfkill.c
@@ -188,6 +188,11 @@ void b43_rfkill_init(struct b43_wldev *dev)
188 "The built-in radio LED will not work.\n"); 188 "The built-in radio LED will not work.\n");
189#endif /* CONFIG_RFKILL_INPUT */ 189#endif /* CONFIG_RFKILL_INPUT */
190 190
191#if !defined(CONFIG_RFKILL_INPUT) && !defined(CONFIG_RFKILL_INPUT_MODULE)
192 b43warn(wl, "The rfkill-input subsystem is not available. "
193 "The built-in radio LED will not work.\n");
194#endif
195
191 err = input_register_polled_device(rfk->poll_dev); 196 err = input_register_polled_device(rfk->poll_dev);
192 if (err) 197 if (err)
193 goto err_unreg_rfk; 198 goto err_unreg_rfk;