linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Jeff Garzik <jeff@garzik.org>,
	IDE/ATA development list <linux-ide@vger.kernel.org>,
	"Rafael J. Wysocki" <rjw@sisk.pl>
Subject: [PATCH #hibern_regress] libata: add missing dummy dmi_first_match()
Date: Wed, 05 Nov 2008 23:58:02 +0900	[thread overview]
Message-ID: <4911B47A.2010409@kernel.org> (raw)

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; }

             reply	other threads:[~2008-11-05 14:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-05 14:58 Tejun Heo [this message]
2008-11-06 16:33 ` [PATCH #hibern_regress] libata: add missing dummy dmi_first_match() Rafael J. Wysocki
2008-11-11  8:07 ` Jeff Garzik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4911B47A.2010409@kernel.org \
    --to=tj@kernel.org \
    --cc=jeff@garzik.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=rjw@sisk.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).