This patch makes it possible to disable rtl8187b driver in linux-loongson tree.
Signed-off-by: Robert Millan <[email protected]> -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."
diff --git a/drivers/platform/loongson/ec_kb3310b/yeeloong_laptop.c b/drivers/platform/loongson/ec_kb3310b/yeeloong_laptop.c index b93f8de..2df18c0 100644 --- a/drivers/platform/loongson/ec_kb3310b/yeeloong_laptop.c +++ b/drivers/platform/loongson/ec_kb3310b/yeeloong_laptop.c @@ -188,6 +188,7 @@ void yeeloong_input_update_status(int event, int status) yeeloong_lid_update_status(status); return; case SCI_EVENT_NUM_WLAN: +#ifdef CONFIG_RTL8187B /* notify the wifi driver to update it's state * FIXME: we user set the rfkill state from * user-space, we need to sync the state to the @@ -199,6 +200,7 @@ void yeeloong_input_update_status(int event, int status) * value is the real status we set. */ status = r8187b_wifi_update_rfkill_state(2); +#endif break; case SCI_EVENT_NUM_DISPLAY_BRIGHTNESS: /* current status is higher than the old one, means up */
_______________________________________________ gNewSense-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/gnewsense-dev
