diff options
author | Lv Zheng <lv.zheng@intel.com> | 2014-07-08 10:07:26 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-07-08 14:22:26 +0200 |
commit | a92e95773d8e2cd58124aea147cb833f33f1e196 (patch) | |
tree | 3f19c2566106d2344c1e72db68e7ca7c71a7daef /drivers/acpi | |
parent | 3c9349c93712f68dc9fc4caadb2fc1b7c9407316 (diff) | |
download | blackbird-op-linux-a92e95773d8e2cd58124aea147cb833f33f1e196.tar.gz blackbird-op-linux-a92e95773d8e2cd58124aea147cb833f33f1e196.zip |
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')
-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); acpi_size acpi_ut_strlen(const char *string); +char *acpi_ut_strchr(const char *string, int ch); + char *acpi_ut_strcpy(char *dst_string, const char *src_string); char *acpi_ut_strncpy(char *dst_string, |