aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>2007-04-21 10:08:38 -0400
committerLen Brown <len.brown@intel.com>2007-04-21 23:30:34 -0400
commitd01320e606d334a0cd35d781a58f9f3c254829ab (patch)
treefd4183a3a8b3945127f29b7cf4aa0d7613670ad1 /drivers/misc
parent8d376cd6543d57ef10799be02ba5f19aa6678032 (diff)
ACPI: thinkpad-acpi: mark acpi helper functions __must_check
Mark acpi_evalf and friends __must_check. 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')
-rw-r--r--drivers/misc/thinkpad_acpi.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/misc/thinkpad_acpi.h b/drivers/misc/thinkpad_acpi.h
index 529528c2fb5d..1b4cd167ebd2 100644
--- a/drivers/misc/thinkpad_acpi.h
+++ b/drivers/misc/thinkpad_acpi.h
@@ -97,11 +97,11 @@ static const char *str_supported(int is_supported);
97#define IBM_PCI_HID "PNP0A03" 97#define IBM_PCI_HID "PNP0A03"
98 98
99/* ACPI helpers */ 99/* ACPI helpers */
100static int acpi_evalf(acpi_handle handle, 100static int __must_check acpi_evalf(acpi_handle handle,
101 void *res, char *method, char *fmt, ...); 101 void *res, char *method, char *fmt, ...);
102static int acpi_ec_read(int i, u8 * p); 102static int __must_check acpi_ec_read(int i, u8 * p);
103static int acpi_ec_write(int i, u8 v); 103static int __must_check acpi_ec_write(int i, u8 v);
104static int _sta(acpi_handle handle); 104static int __must_check _sta(acpi_handle handle);
105 105
106/* ACPI handles */ 106/* ACPI handles */
107static acpi_handle root_handle; /* root namespace */ 107static acpi_handle root_handle; /* root namespace */