mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Brijesh Singh <brijeshkumar.singh@amd.com>
To: <minyard@acm.org>, <openipmi-developer@lists.sourceforge.net>,
	<linux-kernel@vger.kernel.org>
Cc: Brijesh Singh <brijeshkumar.singh@amd.com>
Subject: [PATCH] ipmi: add of_device_id in MODULE_DEVICE_TABLE
Date: Mon, 24 Aug 2015 09:15:25 -0500	[thread overview]
Message-ID: <1440425725-8445-1-git-send-email-brijeshkumar.singh@amd.com> (raw)

Fix autoloading ipmi modules when using device tree.

Signed-off-by: Brijesh Singh <brijeshkumar.singh@amd.com>
---
 drivers/char/ipmi/ipmi_si_intf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c
index 8a45e92..cddc7b0 100644
--- a/drivers/char/ipmi/ipmi_si_intf.c
+++ b/drivers/char/ipmi/ipmi_si_intf.c
@@ -2785,6 +2785,7 @@ static struct platform_driver ipmi_driver = {
 	.probe		= ipmi_probe,
 	.remove		= ipmi_remove,
 };
+MODULE_DEVICE_TABLE(of, ipmi_match);
 
 #ifdef CONFIG_PARISC
 static int ipmi_parisc_probe(struct parisc_device *dev)
-- 
1.9.1


             reply	other threads:[~2015-08-24 14:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-24 14:15 Brijesh Singh [this message]
2015-08-24 21:36 ` Corey Minyard
2015-08-25  0:48 ` Corey Minyard
2015-08-25  2:04   ` yalin wang
2015-08-25 11:59     ` Corey Minyard
2015-08-25 12:02       ` Singh, Brijeshkumar
2015-08-25 14:50   ` Singh, Brijeshkumar
2015-08-26 14:57     ` Corey Minyard
2015-08-26 16:03       ` Singh, Brijeshkumar

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=1440425725-8445-1-git-send-email-brijeshkumar.singh@amd.com \
    --to=brijeshkumar.singh@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=minyard@acm.org \
    --cc=openipmi-developer@lists.sourceforge.net \
    /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

Powered by JetHome