projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d088289
)
ipmi: add of_device_id in MODULE_DEVICE_TABLE
author
Brijesh Singh
<brijeshkumar.singh@amd.com>
Mon, 24 Aug 2015 14:15:25 +0000
(09:15 -0500)
committer
Corey Minyard
<cminyard@mvista.com>
Thu, 3 Sep 2015 20:02:31 +0000
(15:02 -0500)
Fix autoloading ipmi modules when using device tree.
Signed-off-by: Brijesh Singh <brijeshkumar.singh@amd.com>
Moved this change up into the CONFIG_OF section to account
for changes to the probing code.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_si_intf.c
patch
|
blob
|
history
diff --git
a/drivers/char/ipmi/ipmi_si_intf.c
b/drivers/char/ipmi/ipmi_si_intf.c
index 21bddc10e321a76346f7ff6ffe93fde3a80a89d1..654f6f36a071c1411e21373d3cb53e00efadd4f6 100644
(file)
--- a/
drivers/char/ipmi/ipmi_si_intf.c
+++ b/
drivers/char/ipmi/ipmi_si_intf.c
@@
-2646,6
+2646,7
@@
static int of_ipmi_probe(struct platform_device *dev)
}
return 0;
}
+MODULE_DEVICE_TABLE(of, of_ipmi_match);
#else
#define of_ipmi_match NULL
static int of_ipmi_probe(struct platform_device *dev)