diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2007-04-27 21:00:17 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-04-28 21:41:20 -0400 |
commit | d3a6ade4f84416d774c3e5db5faae1840d55bd97 (patch) | |
tree | 7d9568a5531b9ad4a48308e4e63ca7976f7de558 /drivers/misc/thinkpad_acpi.h | |
parent | a0416420e2c6244792d6f308183ad57c40532078 (diff) |
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 'drivers/misc/thinkpad_acpi.h')
-rw-r--r-- | drivers/misc/thinkpad_acpi.h | 4 |
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); | |||
278 | * Bluetooth subdriver | 278 | * Bluetooth subdriver |
279 | */ | 279 | */ |
280 | 280 | ||
281 | #define TPACPI_BLUETH_SYSFS_GROUP "bluetooth" | ||
282 | |||
281 | enum { | 283 | enum { |
282 | /* ACPI GBDC/SBDC bits */ | 284 | /* ACPI GBDC/SBDC bits */ |
283 | TP_ACPI_BLUETOOTH_HWPRESENT = 0x01, /* Bluetooth hw available */ | 285 | TP_ACPI_BLUETOOTH_HWPRESENT = 0x01, /* Bluetooth hw available */ |
@@ -551,6 +553,8 @@ static int volume_write(char *buf); | |||
551 | * Wan subdriver | 553 | * Wan subdriver |
552 | */ | 554 | */ |
553 | 555 | ||
556 | #define TPACPI_WAN_SYSFS_GROUP "wwan" | ||
557 | |||
554 | enum { | 558 | enum { |
555 | /* ACPI GWAN/SWAN bits */ | 559 | /* ACPI GWAN/SWAN bits */ |
556 | TP_ACPI_WANCARD_HWPRESENT = 0x01, /* Wan hw available */ | 560 | TP_ACPI_WANCARD_HWPRESENT = 0x01, /* Wan hw available */ |