eeepc-laptop: allow rfkill hotplug to work on the 900A model
PATCH 2/2 eeepc-laptop: allow rfkill hotplug to work on the 900A model
The 900A provides hotplug notifications on a different ACPI object to other models.
Reported-by Trevor <[email protected]>
Signed-off-by Alan Jenkins <[email protected]>
--- drivers/platform/x86/eeepc-laptop.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/platform/x86/eeepc-laptop.c +2 -0
@@ -977,6 +977,7 @@ static void eeepc_backlight_exit(void)static void eeepc_rfkill_exit (void ) { +eeepc_unregister_rfkill_notifier ("\\_SB.PCI0.P0P5" );eeepc_unregister_rfkill_notifier ("\\_SB.PCI0.P0P6" );eeepc_unregister_rfkill_notifier ("\\_SB.PCI0.P0P7" );if (ehotk->wlan_rfkill) {
@@ -1083,6 +1084,7 @@ static int eeepc_rfkill_init(struct device *dev)if (result == -EBUSY ) result =0 ; +eeepc_register_rfkill_notifier ("\\_SB.PCI0.P0P5" );eeepc_register_rfkill_notifier ("\\_SB.PCI0.P0P6" );eeepc_register_rfkill_notifier ("\\_SB.PCI0.P0P7" );/*
Signature · 1 line
1.6.3.2