linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH #hibern_regress] libata: add missing dummy dmi_first_match()
@ 2008-11-05 14:58 Tejun Heo
  2008-11-06 16:33 ` Rafael J. Wysocki
  2008-11-11  8:07 ` Jeff Garzik
  0 siblings, 2 replies; 3+ messages in thread
From: Tejun Heo @ 2008-11-05 14:58 UTC (permalink / raw)
  To: Jeff Garzik, IDE/ATA development list, Rafael J. Wysocki

Dummy dmi_first_match() definition for !CONFIG_DMI is missing.  Add it.

Signed-off-by: Tejun Heo <tj@kernel.org>
---
 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; }

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-11-11  8:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-05 14:58 [PATCH #hibern_regress] libata: add missing dummy dmi_first_match() Tejun Heo
2008-11-06 16:33 ` Rafael J. Wysocki
2008-11-11  8:07 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).