[PATCH #hibern_regress] libata: add missing dummy dmi_first_match()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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,
 	const struct dmi_device *from) { return NULL; }
--
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

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux