aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/thinkpad_acpi.h
diff options
context:
space:
mode:
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>2007-04-27 22:00:17 -0300
committerLen Brown <len.brown@intel.com>2007-04-28 21:41:20 -0400
commitd3a6ade4f84416d774c3e5db5faae1840d55bd97 (patch)
tree7d9568a5531b9ad4a48308e4e63ca7976f7de558 /drivers/misc/thinkpad_acpi.h
parentACPI: thinkpad-acpi: add sysfs support to hotkey subdriver (diff)
downloadlinux-dev-d3a6ade4f84416d774c3e5db5faae1840d55bd97.tar.xz
linux-dev-d3a6ade4f84416d774c3e5db5faae1840d55bd97.zip
ACPI: thinkpad-acpi: add sysfs support to wan and bluetooth subdrivers
Add support to sysfs to the wan and bluetooth subdrivers. Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to '')
-rw-r--r--drivers/misc/thinkpad_acpi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/misc/thinkpad_acpi.h b/drivers/misc/thinkpad_acpi.h
index 7615adb381c8..a6c285585863 100644
--- a/drivers/misc/thinkpad_acpi.h
+++ b/drivers/misc/thinkpad_acpi.h
@@ -278,6 +278,8 @@ static int beep_write(char *buf);
* Bluetooth subdriver
*/
+#define TPACPI_BLUETH_SYSFS_GROUP "bluetooth"
+
enum {
/* ACPI GBDC/SBDC bits */
TP_ACPI_BLUETOOTH_HWPRESENT = 0x01, /* Bluetooth hw available */
@@ -551,6 +553,8 @@ static int volume_write(char *buf);
* Wan subdriver
*/
+#define TPACPI_WAN_SYSFS_GROUP "wwan"
+
enum {
/* ACPI GWAN/SWAN bits */
TP_ACPI_WANCARD_HWPRESENT = 0x01, /* Wan hw available */