diff options
author | Bob Moore <robert.moore@intel.com> | 2008-11-12 01:16:21 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-12-29 22:38:36 -0500 |
commit | 6de4048a416d46eb2ac6597d03d2b58806a6b800 (patch) | |
tree | ca04d7e3088c9f8d302135e4e6ba266106ee024b /drivers/acpi/tables/tbfadt.c | |
parent | 4a6908a3a050aacc9c3a2f36b276b46c0629ad91 (diff) |
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=732
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/tables/tbfadt.c')
-rw-r--r-- | drivers/acpi/tables/tbfadt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/tables/tbfadt.c b/drivers/acpi/tables/tbfadt.c index 2817158fb6a1..d2e60a8fa9a5 100644 --- a/drivers/acpi/tables/tbfadt.c +++ b/drivers/acpi/tables/tbfadt.c | |||
@@ -48,7 +48,7 @@ | |||
48 | ACPI_MODULE_NAME("tbfadt") | 48 | ACPI_MODULE_NAME("tbfadt") |
49 | 49 | ||
50 | /* Local prototypes */ | 50 | /* Local prototypes */ |
51 | static void inline | 51 | static inline void |
52 | acpi_tb_init_generic_address(struct acpi_generic_address *generic_address, | 52 | acpi_tb_init_generic_address(struct acpi_generic_address *generic_address, |
53 | u8 byte_width, u64 address); | 53 | u8 byte_width, u64 address); |
54 | 54 | ||
@@ -122,7 +122,7 @@ static struct acpi_fadt_info fadt_info_table[] = { | |||
122 | * | 122 | * |
123 | ******************************************************************************/ | 123 | ******************************************************************************/ |
124 | 124 | ||
125 | static void inline | 125 | static inline void |
126 | acpi_tb_init_generic_address(struct acpi_generic_address *generic_address, | 126 | acpi_tb_init_generic_address(struct acpi_generic_address *generic_address, |
127 | u8 byte_width, u64 address) | 127 | u8 byte_width, u64 address) |
128 | { | 128 | { |