diff options
author | Alan Jenkins <alan-jenkins@tuffmail.co.uk> | 2009-08-29 10:28:31 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-08-29 14:17:18 -0400 |
commit | 52cc96bd5b61775db2792780c610979fc02313eb (patch) | |
tree | 877a9036f2768556a14f43ca8f3db243062d562b | |
parent | a8258069793609903b5ebf0bca3320249154c379 (diff) | |
download | linux-52cc96bd5b61775db2792780c610979fc02313eb.tar.gz linux-52cc96bd5b61775db2792780c610979fc02313eb.tar.bz2 linux-52cc96bd5b61775db2792780c610979fc02313eb.zip |
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.c | 2 |
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) 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) { @@ -1101,6 +1102,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"); /* |