summaryrefslogtreecommitdiff
path: root/drivers/misc/thinkpad_acpi.h
diff options
context:
space:
mode:
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>2007-04-21 11:08:38 -0300
committerLen Brown <len.brown@intel.com>2007-04-21 23:30:34 -0400
commitd01320e606d334a0cd35d781a58f9f3c254829ab (patch)
treefd4183a3a8b3945127f29b7cf4aa0d7613670ad1 /drivers/misc/thinkpad_acpi.h
parent8d376cd6543d57ef10799be02ba5f19aa6678032 (diff)
downloadlinux-3.10-d01320e606d334a0cd35d781a58f9f3c254829ab.tar.gz
linux-3.10-d01320e606d334a0cd35d781a58f9f3c254829ab.tar.bz2
linux-3.10-d01320e606d334a0cd35d781a58f9f3c254829ab.zip
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/thinkpad_acpi.h')
-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 529528c2fb5..1b4cd167ebd 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);
#define IBM_PCI_HID "PNP0A03"
/* ACPI helpers */
-static int acpi_evalf(acpi_handle handle,
+static int __must_check acpi_evalf(acpi_handle handle,
void *res, char *method, char *fmt, ...);
-static int acpi_ec_read(int i, u8 * p);
-static int acpi_ec_write(int i, u8 v);
-static int _sta(acpi_handle handle);
+static int __must_check acpi_ec_read(int i, u8 * p);
+static int __must_check acpi_ec_write(int i, u8 v);
+static int __must_check _sta(acpi_handle handle);
/* ACPI handles */
static acpi_handle root_handle; /* root namespace */