]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-i386/mach-es7000/mach_mpparse.h
Merge branch 'master' into upstream
[linux-2.6-omap-h63xx.git] / include / asm-i386 / mach-es7000 / mach_mpparse.h
index 28a84f6185a789834bdf753dc4e17e1bba8636c8..99f66be240be66e517e93b14fe0b9fda52e65752 100644 (file)
@@ -16,7 +16,7 @@ static inline void mpc_oem_pci_bus(struct mpc_config_bus *m,
 
 extern int parse_unisys_oem (char *oemptr);
 extern int find_unisys_acpi_oem_table(unsigned long *oem_addr);
-extern void setup_unisys();
+extern void setup_unisys(void);
 
 static inline int mps_oem_check(struct mp_config_table *mpc, char *oem,
                char *productid)
@@ -30,7 +30,8 @@ static inline int mps_oem_check(struct mp_config_table *mpc, char *oem,
        return 0;
 }
 
-static inline int es7000_check_dsdt()
+#ifdef CONFIG_ACPI
+static inline int es7000_check_dsdt(void)
 {
        struct acpi_table_header *header = NULL;
        if(!acpi_get_table_header_early(ACPI_DSDT, &header))
@@ -54,6 +55,11 @@ static inline int acpi_madt_oem_check(char *oem_id, char *oem_table_id)
        }
        return 0;
 }
-
+#else
+static inline int acpi_madt_oem_check(char *oem_id, char *oem_table_id)
+{
+       return 0;
+}
+#endif
 
 #endif /* __ASM_MACH_MPPARSE_H */