summaryrefslogtreecommitdiff
path: root/drivers/misc/thinkpad_acpi.h
diff options
context:
space:
mode:
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>2007-07-19 02:45:37 (GMT)
committerLen Brown <len.brown@intel.com>2007-07-22 03:46:08 (GMT)
commite295e8508c1dd56e06c73e78a2f67f2eb563e74f (patch)
tree076ac3317d2158e76d1326912f190c354f895b65 /drivers/misc/thinkpad_acpi.h
parent1a343760b516ca5466d201bec32b1794858b18a5 (diff)
downloadlinux-fsl-qoriq-e295e8508c1dd56e06c73e78a2f67f2eb563e74f.tar.xz
ACPI: thinkpad-acpi: add power-management handler capability
Some subdrivers could benefit from resume handling, so add the infrastructure for simple resume handling. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/thinkpad_acpi.h b/drivers/misc/thinkpad_acpi.h
index 00f1bd7..c5c1316 100644
--- a/drivers/misc/thinkpad_acpi.h
+++ b/drivers/misc/thinkpad_acpi.h
@@ -205,6 +205,7 @@ struct ibm_struct {
int (*read) (char *);
int (*write) (char *);
void (*exit) (void);
+ void (*resume) (void);
struct list_head all_drivers;