diff options
Diffstat (limited to 'include/linux/dmi.h')
| -rw-r--r-- | include/linux/dmi.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/dmi.h b/include/linux/dmi.h index 05f4132622fc..2e6bbe014157 100644 --- a/include/linux/dmi.h +++ b/include/linux/dmi.h | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | #define __DMI_H__ | 2 | #define __DMI_H__ |
| 3 | 3 | ||
| 4 | #include <linux/list.h> | 4 | #include <linux/list.h> |
| 5 | #include <linux/config.h> | ||
| 5 | 6 | ||
| 6 | enum dmi_field { | 7 | enum dmi_field { |
| 7 | DMI_NONE, | 8 | DMI_NONE, |
| @@ -60,12 +61,14 @@ struct dmi_device { | |||
| 60 | void *device_data; /* Type specific data */ | 61 | void *device_data; /* Type specific data */ |
| 61 | }; | 62 | }; |
| 62 | 63 | ||
| 63 | #if defined(CONFIG_X86_32) | 64 | #ifdef CONFIG_DMI |
| 64 | 65 | ||
| 65 | extern int dmi_check_system(struct dmi_system_id *list); | 66 | extern int dmi_check_system(struct dmi_system_id *list); |
| 66 | extern char * dmi_get_system_info(int field); | 67 | extern char * dmi_get_system_info(int field); |
| 67 | extern struct dmi_device * dmi_find_device(int type, const char *name, | 68 | extern struct dmi_device * dmi_find_device(int type, const char *name, |
| 68 | struct dmi_device *from); | 69 | struct dmi_device *from); |
| 70 | extern void dmi_scan_machine(void); | ||
| 71 | |||
| 69 | #else | 72 | #else |
| 70 | 73 | ||
| 71 | static inline int dmi_check_system(struct dmi_system_id *list) { return 0; } | 74 | static inline int dmi_check_system(struct dmi_system_id *list) { return 0; } |
