]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
eeepc-laptop: enable Bluetooth ACPI details
authorJonathan McDowell <noodles@earth.li>
Wed, 3 Dec 2008 20:31:11 +0000 (20:31 +0000)
committerLen Brown <len.brown@intel.com>
Fri, 16 Jan 2009 19:32:18 +0000 (14:32 -0500)
Although rfkill support for the EEE bluetooth device has been added to
2.6.28-rc the appropriate ACPI accessor definitions were not added, so
the support was non functional. The patch below adds the get and set
accessors and has been verified to work on an EEE 901.

Signed-off-by: Jonathan McDowell <noodles@earth.li>
Acked-by: Matthew Garrett <mjg@redhat.com>
Acked-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/eeepc-laptop.c

index 02fe2b8b8939cd1f752e815c3c0e4e9310cedf77..9d93cb971e59a16df9ff014844d6a250983d6cd9 100644 (file)
@@ -90,7 +90,7 @@ enum {
 };
 
 static const char *cm_getv[] = {
-       "WLDG", NULL, NULL, NULL,
+       "WLDG", "BTHG", NULL, NULL,
        "CAMG", NULL, NULL, NULL,
        NULL, "PBLG", NULL, NULL,
        "CFVG", NULL, NULL, NULL,
@@ -99,7 +99,7 @@ static const char *cm_getv[] = {
 };
 
 static const char *cm_setv[] = {
-       "WLDS", NULL, NULL, NULL,
+       "WLDS", "BTHS", NULL, NULL,
        "CAMS", NULL, NULL, NULL,
        "SDSP", "PBLS", "HDPS", NULL,
        "CFVS", NULL, NULL, NULL,