[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1440425725-8445-1-git-send-email-brijeshkumar.singh@amd.com>
Date:	Mon, 24 Aug 2015 09:15:25 -0500
From:	Brijesh Singh <brijeshkumar.singh@....com>
To:	<minyard@....org>, <openipmi-developer@...ts.sourceforge.net>,
	<linux-kernel@...r.kernel.org>
CC:	Brijesh Singh <brijeshkumar.singh@....com>
Subject: [PATCH] ipmi: add of_device_id in MODULE_DEVICE_TABLE
Fix autoloading ipmi modules when using device tree.
Signed-off-by: Brijesh Singh <brijeshkumar.singh@....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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
