summaryrefslogtreecommitdiff
path: root/include/acpi/actypes.h
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2014-07-08 06:07:26 +0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-07-08 16:22:26 +0400
commita92e95773d8e2cd58124aea147cb833f33f1e196 (patch)
tree3f19c2566106d2344c1e72db68e7ca7c71a7daef /include/acpi/actypes.h
parent3c9349c93712f68dc9fc4caadb2fc1b7c9407316 (diff)
downloadlinux-a92e95773d8e2cd58124aea147cb833f33f1e196.tar.xz
ACPICA: Common: Enhance acpi_getopt() to improve portability
This patch enhances acpi_getopt() by converting the standard C library invocations into portable ACPI string APIs and acpi_log_error() to improve portability. Lv Zheng. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/actypes.h')
-rw-r--r--include/acpi/actypes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h
index 165abcae5548..608a04019372 100644
--- a/include/acpi/actypes.h
+++ b/include/acpi/actypes.h
@@ -1254,4 +1254,8 @@ struct acpi_memory_list {
#define ACPI_FILE_BEGIN 0x01
#define ACPI_FILE_END 0x02
+/* Definitions of getopt */
+
+#define ACPI_OPT_END -1
+
#endif /* __ACTYPES_H__ */