]> 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 4a0637a3e2081e6b51ace484f3d33ec2d9d6c6ce..99f66be240be66e517e93b14fe0b9fda52e65752 100644 (file)
@@ -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 */