Commit 6de4048a authored by Bob Moore's avatar Bob Moore Committed by Len Brown

ACPICA: Fix several warnings under gcc 4 compiler

New compiler is pickier than older versions.
Joerg Sonnenberger. From ACPICA BZ 732.

http://www.acpica.org/bugzilla/show_bug.cgi?id=732Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarLin Ming <ming.m.lin@intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 4a6908a3
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
ACPI_MODULE_NAME("tbfadt") ACPI_MODULE_NAME("tbfadt")
/* Local prototypes */ /* Local prototypes */
static void inline static inline void
acpi_tb_init_generic_address(struct acpi_generic_address *generic_address, acpi_tb_init_generic_address(struct acpi_generic_address *generic_address,
u8 byte_width, u64 address); u8 byte_width, u64 address);
...@@ -122,7 +122,7 @@ static struct acpi_fadt_info fadt_info_table[] = { ...@@ -122,7 +122,7 @@ static struct acpi_fadt_info fadt_info_table[] = {
* *
******************************************************************************/ ******************************************************************************/
static void inline static inline void
acpi_tb_init_generic_address(struct acpi_generic_address *generic_address, acpi_tb_init_generic_address(struct acpi_generic_address *generic_address,
u8 byte_width, u64 address) u8 byte_width, u64 address)
{ {
......
...@@ -291,7 +291,7 @@ typedef u32 acpi_physical_address; ...@@ -291,7 +291,7 @@ typedef u32 acpi_physical_address;
#endif #endif
/* /*
* Mescellaneous types * Miscellaneous types
*/ */
typedef u32 acpi_status; /* All ACPI Exceptions */ typedef u32 acpi_status; /* All ACPI Exceptions */
typedef u32 acpi_name; /* 4-byte ACPI name */ typedef u32 acpi_name; /* 4-byte ACPI name */
...@@ -787,7 +787,7 @@ acpi_status(*acpi_exception_handler) (acpi_status aml_status, ...@@ -787,7 +787,7 @@ acpi_status(*acpi_exception_handler) (acpi_status aml_status,
u16 opcode, u16 opcode,
u32 aml_offset, void *context); u32 aml_offset, void *context);
/* Table Event handler (Load, load_table etc) and types */ /* Table Event handler (Load, load_table, etc.) and types */
typedef typedef
acpi_status(*acpi_tbl_handler) (u32 event, void *table, void *context); acpi_status(*acpi_tbl_handler) (u32 event, void *table, void *context);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment