diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2007-04-21 10:08:38 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-04-21 23:30:34 -0400 |
commit | d01320e606d334a0cd35d781a58f9f3c254829ab (patch) | |
tree | fd4183a3a8b3945127f29b7cf4aa0d7613670ad1 /drivers/misc | |
parent | 8d376cd6543d57ef10799be02ba5f19aa6678032 (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.h | 8 |
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 */ |
100 | static int acpi_evalf(acpi_handle handle, | 100 | static int __must_check acpi_evalf(acpi_handle handle, |
101 | void *res, char *method, char *fmt, ...); | 101 | void *res, char *method, char *fmt, ...); |
102 | static int acpi_ec_read(int i, u8 * p); | 102 | static int __must_check acpi_ec_read(int i, u8 * p); |
103 | static int acpi_ec_write(int i, u8 v); | 103 | static int __must_check acpi_ec_write(int i, u8 v); |
104 | static int _sta(acpi_handle handle); | 104 | static int __must_check _sta(acpi_handle handle); |
105 | 105 | ||
106 | /* ACPI handles */ | 106 | /* ACPI handles */ |
107 | static acpi_handle root_handle; /* root namespace */ | 107 | static acpi_handle root_handle; /* root namespace */ |