Tejun Heo wrote:
Dummy dmi_first_match() definition for !CONFIG_DMI is missing. Add it.
Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
---
include/linux/dmi.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/dmi.h b/include/linux/dmi.h
index 6e20820..dbce0ce 100644
--- a/include/linux/dmi.h
+++ b/include/linux/dmi.h
@@ -51,6 +51,8 @@ extern int dmi_walk(void (*decode)(const struct dmi_header *));
#else
static inline int dmi_check_system(const struct dmi_system_id *list) { return 0; }
+static inline const struct dmi_system_id *dmi_first_match(const struct dmi_system_id *list)
+ { return NULL; }
static inline const char * dmi_get_system_info(int field) { return NULL; }
static inline const struct dmi_device * dmi_find_device(int type, const char *name,
applied
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html