summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/tables
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2008-11-12 07:16:21 +0100
committerLen Brown <len.brown@intel.com>2008-12-30 04:38:36 +0100
commit6de4048a416d46eb2ac6597d03d2b58806a6b800 (patch)
treeca04d7e3088c9f8d302135e4e6ba266106ee024b /drivers/acpi/tables
parentLinux 2.6.28 (diff)
downloadlinux-6de4048a416d46eb2ac6597d03d2b58806a6b800.tar.xz
linux-6de4048a416d46eb2ac6597d03d2b58806a6b800.zip
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')
-rw-r--r--drivers/acpi/tables/tbfadt.c4
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 @@
ACPI_MODULE_NAME("tbfadt")
/* Local prototypes */
-static void inline
+static inline void
acpi_tb_init_generic_address(struct acpi_generic_address *generic_address,
u8 byte_width, u64 address);
@@ -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,
u8 byte_width, u64 address)
{