projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69c0c5b
)
can: mpc5xxx_can: add MODULE_DEVICE_TABLE
author
Marc Kleine-Budde
<mkl@pengutronix.de>
Fri, 12 Oct 2012 08:19:27 +0000
(10:19 +0200)
committer
Marc Kleine-Budde
<mkl@pengutronix.de>
Tue, 27 Nov 2012 08:49:36 +0000
(09:49 +0100)
This patch adds a MODULE_DEVICE_TABLE for the of bindings, so that the module
can be loaded automatically by udev.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/mscan/mpc5xxx_can.c
patch
|
blob
|
history
diff --git
a/drivers/net/can/mscan/mpc5xxx_can.c
b/drivers/net/can/mscan/mpc5xxx_can.c
index 799c354083c4800cf738837587a202725322cbac..514d020642558b9daa9a5fa616fda919a9ca6971 100644
(file)
--- a/
drivers/net/can/mscan/mpc5xxx_can.c
+++ b/
drivers/net/can/mscan/mpc5xxx_can.c
@@
-396,6
+396,7
@@
static const struct of_device_id __devinitconst mpc5xxx_can_table[] = {
{ .compatible = "fsl,mpc5121-mscan", .data = &mpc5121_can_data, },
{},
};
+MODULE_DEVICE_TABLE(of, mpc5xxx_can_table);
static struct platform_driver mpc5xxx_can_driver = {
.driver = {