X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fdmi.h;h=2e6bbe0141578d832312043fe20abfdc8bf74c1a;hb=7d14f145f839b5d0d221ea209b4998f93267e2ec;hp=05f4132622fc7eeea7972e427cadf72ed1ee068b;hpb=53b2ec5518aa2623e8c0cb36f1c304a797988a46;p=linux-2.6 diff --git a/include/linux/dmi.h b/include/linux/dmi.h index 05f4132622..2e6bbe0141 100644 --- a/include/linux/dmi.h +++ b/include/linux/dmi.h @@ -2,6 +2,7 @@ #define __DMI_H__ #include +#include enum dmi_field { DMI_NONE, @@ -60,12 +61,14 @@ struct dmi_device { void *device_data; /* Type specific data */ }; -#if defined(CONFIG_X86_32) +#ifdef CONFIG_DMI extern int dmi_check_system(struct dmi_system_id *list); extern char * dmi_get_system_info(int field); extern struct dmi_device * dmi_find_device(int type, const char *name, struct dmi_device *from); +extern void dmi_scan_machine(void); + #else static inline int dmi_check_system(struct dmi_system_id *list) { return 0; }