aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/thinkpad_acpi.h
diff options
context:
space:
mode:
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>2007-04-24 10:48:13 -0400
committerLen Brown <len.brown@intel.com>2007-04-25 02:00:27 -0400
commit176750d68801bfa4a88d1cf54174aa0347d7e5d8 (patch)
treecb8cb70fcce9e6d7f2d9365635b2ec2856336ad2 /drivers/misc/thinkpad_acpi.h
parent54ae15014c306b3d7ad32c996fea9a5ac8560b60 (diff)
ACPI: thinkpad-acpi: driver sysfs conversion
Add the sysfs attributes for the platform driver. 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/misc/thinkpad_acpi.h b/drivers/misc/thinkpad_acpi.h
index fea580999e94..37860582956f 100644
--- a/drivers/misc/thinkpad_acpi.h
+++ b/drivers/misc/thinkpad_acpi.h
@@ -32,6 +32,7 @@
32#include <linux/list.h> 32#include <linux/list.h>
33 33
34#include <linux/proc_fs.h> 34#include <linux/proc_fs.h>
35#include <linux/sysfs.h>
35#include <linux/backlight.h> 36#include <linux/backlight.h>
36#include <linux/fb.h> 37#include <linux/fb.h>
37#include <linux/platform_device.h> 38#include <linux/platform_device.h>
@@ -137,6 +138,8 @@ static char *next_cmd(char **cmds);
137static struct platform_device *tpacpi_pdev; 138static struct platform_device *tpacpi_pdev;
138static struct class_device *tpacpi_hwmon; 139static struct class_device *tpacpi_hwmon;
139static struct platform_driver tpacpi_pdriver; 140static struct platform_driver tpacpi_pdriver;
141static int tpacpi_create_driver_attributes(struct device_driver *drv);
142static void tpacpi_remove_driver_attributes(struct device_driver *drv);
140 143
141/* Module */ 144/* Module */
142static int experimental; 145static int experimental;