|
@@ -68,6 +68,7 @@ extern char * dmi_get_system_info(int field);
|
|
extern struct dmi_device * dmi_find_device(int type, const char *name,
|
|
extern struct dmi_device * dmi_find_device(int type, const char *name,
|
|
struct dmi_device *from);
|
|
struct dmi_device *from);
|
|
extern void dmi_scan_machine(void);
|
|
extern void dmi_scan_machine(void);
|
|
|
|
+extern int dmi_get_year(int field);
|
|
|
|
|
|
#else
|
|
#else
|
|
|
|
|
|
@@ -75,6 +76,7 @@ static inline int dmi_check_system(struct dmi_system_id *list) { return 0; }
|
|
static inline char * dmi_get_system_info(int field) { return NULL; }
|
|
static inline char * dmi_get_system_info(int field) { return NULL; }
|
|
static inline struct dmi_device * dmi_find_device(int type, const char *name,
|
|
static inline struct dmi_device * dmi_find_device(int type, const char *name,
|
|
struct dmi_device *from) { return NULL; }
|
|
struct dmi_device *from) { return NULL; }
|
|
|
|
+static inline int dmi_get_year(int year) { return 0; }
|
|
|
|
|
|
#endif
|
|
#endif
|
|
|
|
|