diff options
author | Lv Zheng <lv.zheng@intel.com> | 2014-07-07 22:07:26 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-07-08 08:22:26 -0400 |
commit | a92e95773d8e2cd58124aea147cb833f33f1e196 (patch) | |
tree | 3f19c2566106d2344c1e72db68e7ca7c71a7daef /drivers/acpi/acpica | |
parent | 3c9349c93712f68dc9fc4caadb2fc1b7c9407316 (diff) |
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 'drivers/acpi/acpica')
-rw-r--r-- | drivers/acpi/acpica/acutils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/acutils.h b/drivers/acpi/acpica/acutils.h index 85871c639cc2..035dc29798bb 100644 --- a/drivers/acpi/acpica/acutils.h +++ b/drivers/acpi/acpica/acutils.h | |||
@@ -210,6 +210,8 @@ void acpi_ut_subsystem_shutdown(void); | |||
210 | 210 | ||
211 | acpi_size acpi_ut_strlen(const char *string); | 211 | acpi_size acpi_ut_strlen(const char *string); |
212 | 212 | ||
213 | char *acpi_ut_strchr(const char *string, int ch); | ||
214 | |||
213 | char *acpi_ut_strcpy(char *dst_string, const char *src_string); | 215 | char *acpi_ut_strcpy(char *dst_string, const char *src_string); |
214 | 216 | ||
215 | char *acpi_ut_strncpy(char *dst_string, | 217 | char *acpi_ut_strncpy(char *dst_string, |