diff options
author | Bob Moore <robert.moore@intel.com> | 2008-12-30 14:01:23 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-12-31 01:15:40 -0500 |
commit | 50df4d8b0f6e1971b930f3158c9ee0e4263e636d (patch) | |
tree | bb2dbcf70009cab8af7011ec6f3cdfc1b9b7d14d /drivers/acpi/utilities/utmisc.c | |
parent | ea7e96e0f2277107d9ea14c3f16c86ba82b2e560 (diff) |
ACPICA: Restructure includes into public/private
acpi.h now includes only the "public" acpica headers. All other
acpica headers are "private" and should not be included by acpica
users. One new file, accommon.h is used to include the commonly
used private headers for acpica code generation. Future plans
are to move all private headers to a new subdirectory.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/utilities/utmisc.c')
-rw-r--r-- | drivers/acpi/utilities/utmisc.c | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/drivers/acpi/utilities/utmisc.c b/drivers/acpi/utilities/utmisc.c index 9089a158a874..8f8b407142ee 100644 --- a/drivers/acpi/utilities/utmisc.c +++ b/drivers/acpi/utilities/utmisc.c | |||
@@ -44,6 +44,7 @@ | |||
44 | #include <linux/module.h> | 44 | #include <linux/module.h> |
45 | 45 | ||
46 | #include <acpi/acpi.h> | 46 | #include <acpi/acpi.h> |
47 | #include <acpi/accommon.h> | ||
47 | #include <acpi/acnamesp.h> | 48 | #include <acpi/acnamesp.h> |
48 | 49 | ||
49 | #define _COMPONENT ACPI_UTILITIES | 50 | #define _COMPONENT ACPI_UTILITIES |
@@ -1016,7 +1017,7 @@ acpi_ut_walk_package_tree(union acpi_operand_object * source_object, | |||
1016 | 1017 | ||
1017 | /******************************************************************************* | 1018 | /******************************************************************************* |
1018 | * | 1019 | * |
1019 | * FUNCTION: acpi_ut_error, acpi_ut_warning, acpi_ut_info | 1020 | * FUNCTION: acpi_error, acpi_exception, acpi_warning, acpi_info |
1020 | * | 1021 | * |
1021 | * PARAMETERS: module_name - Caller's module name (for error output) | 1022 | * PARAMETERS: module_name - Caller's module name (for error output) |
1022 | * line_number - Caller's line number (for error output) | 1023 | * line_number - Caller's line number (for error output) |
@@ -1029,7 +1030,7 @@ acpi_ut_walk_package_tree(union acpi_operand_object * source_object, | |||
1029 | ******************************************************************************/ | 1030 | ******************************************************************************/ |
1030 | 1031 | ||
1031 | void ACPI_INTERNAL_VAR_XFACE | 1032 | void ACPI_INTERNAL_VAR_XFACE |
1032 | acpi_ut_error(const char *module_name, u32 line_number, const char *format, ...) | 1033 | acpi_error(const char *module_name, u32 line_number, const char *format, ...) |
1033 | { | 1034 | { |
1034 | va_list args; | 1035 | va_list args; |
1035 | 1036 | ||
@@ -1042,8 +1043,8 @@ acpi_ut_error(const char *module_name, u32 line_number, const char *format, ...) | |||
1042 | } | 1043 | } |
1043 | 1044 | ||
1044 | void ACPI_INTERNAL_VAR_XFACE | 1045 | void ACPI_INTERNAL_VAR_XFACE |
1045 | acpi_ut_exception(const char *module_name, | 1046 | acpi_exception(const char *module_name, |
1046 | u32 line_number, acpi_status status, const char *format, ...) | 1047 | u32 line_number, acpi_status status, const char *format, ...) |
1047 | { | 1048 | { |
1048 | va_list args; | 1049 | va_list args; |
1049 | 1050 | ||
@@ -1056,11 +1057,8 @@ acpi_ut_exception(const char *module_name, | |||
1056 | va_end(args); | 1057 | va_end(args); |
1057 | } | 1058 | } |
1058 | 1059 | ||
1059 | EXPORT_SYMBOL(acpi_ut_exception); | ||
1060 | |||
1061 | void ACPI_INTERNAL_VAR_XFACE | 1060 | void ACPI_INTERNAL_VAR_XFACE |
1062 | acpi_ut_warning(const char *module_name, | 1061 | acpi_warning(const char *module_name, u32 line_number, const char *format, ...) |
1063 | u32 line_number, const char *format, ...) | ||
1064 | { | 1062 | { |
1065 | va_list args; | 1063 | va_list args; |
1066 | 1064 | ||
@@ -1073,7 +1071,7 @@ acpi_ut_warning(const char *module_name, | |||
1073 | } | 1071 | } |
1074 | 1072 | ||
1075 | void ACPI_INTERNAL_VAR_XFACE | 1073 | void ACPI_INTERNAL_VAR_XFACE |
1076 | acpi_ut_info(const char *module_name, u32 line_number, const char *format, ...) | 1074 | acpi_info(const char *module_name, u32 line_number, const char *format, ...) |
1077 | { | 1075 | { |
1078 | va_list args; | 1076 | va_list args; |
1079 | 1077 | ||
@@ -1088,3 +1086,8 @@ acpi_ut_info(const char *module_name, u32 line_number, const char *format, ...) | |||
1088 | acpi_os_printf("\n"); | 1086 | acpi_os_printf("\n"); |
1089 | va_end(args); | 1087 | va_end(args); |
1090 | } | 1088 | } |
1089 | |||
1090 | ACPI_EXPORT_SYMBOL(acpi_error) | ||
1091 | ACPI_EXPORT_SYMBOL(acpi_exception) | ||
1092 | ACPI_EXPORT_SYMBOL(acpi_warning) | ||
1093 | ACPI_EXPORT_SYMBOL(acpi_info) | ||