aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>2009-08-29 04:28:31 -0400
committerLen Brown <len.brown@intel.com>2009-08-29 14:17:18 -0400
commit52cc96bd5b61775db2792780c610979fc02313eb (patch)
tree877a9036f2768556a14f43ca8f3db243062d562b
parenta8258069793609903b5ebf0bca3320249154c379 (diff)
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 <trevor.chart@gmail.com> Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r--drivers/platform/x86/eeepc-laptop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c
index 6f9a4489e199..da3c08b3dcc1 100644
--- a/drivers/platform/x86/eeepc-laptop.c
+++ b/drivers/platform/x86/eeepc-laptop.c
@@ -981,6 +981,7 @@ static void eeepc_backlight_exit(void)
981 981
982static void eeepc_rfkill_exit(void) 982static void eeepc_rfkill_exit(void)
983{ 983{
984 eeepc_unregister_rfkill_notifier("\\_SB.PCI0.P0P5");
984 eeepc_unregister_rfkill_notifier("\\_SB.PCI0.P0P6"); 985 eeepc_unregister_rfkill_notifier("\\_SB.PCI0.P0P6");
985 eeepc_unregister_rfkill_notifier("\\_SB.PCI0.P0P7"); 986 eeepc_unregister_rfkill_notifier("\\_SB.PCI0.P0P7");
986 if (ehotk->wlan_rfkill) { 987 if (ehotk->wlan_rfkill) {
@@ -1101,6 +1102,7 @@ static int eeepc_rfkill_init(struct device *dev)
1101 if (result == -EBUSY) 1102 if (result == -EBUSY)
1102 result = 0; 1103 result = 0;
1103 1104
1105 eeepc_register_rfkill_notifier("\\_SB.PCI0.P0P5");
1104 eeepc_register_rfkill_notifier("\\_SB.PCI0.P0P6"); 1106 eeepc_register_rfkill_notifier("\\_SB.PCI0.P0P6");
1105 eeepc_register_rfkill_notifier("\\_SB.PCI0.P0P7"); 1107 eeepc_register_rfkill_notifier("\\_SB.PCI0.P0P7");
1106 /* 1108 /*