summaryrefslogtreecommitdiffstats
path: root/drivers/net/can
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2012-10-12 10:19:27 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2012-11-27 09:49:36 +0100
commitfc8f40b10e58f37ec07e7b0cf85d19e899bdf23f (patch)
treebe807089ce3dbea5bb96fd3680aa7186d7ae36c2 /drivers/net/can
parent69c0c5b15a7b0316c1243b61accb65fd337d97ee (diff)
downloadblackbird-op-linux-fc8f40b10e58f37ec07e7b0cf85d19e899bdf23f.tar.gz
blackbird-op-linux-fc8f40b10e58f37ec07e7b0cf85d19e899bdf23f.zip
can: mpc5xxx_can: add MODULE_DEVICE_TABLE
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>
Diffstat (limited to 'drivers/net/can')
-rw-r--r--drivers/net/can/mscan/mpc5xxx_can.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/mscan/mpc5xxx_can.c b/drivers/net/can/mscan/mpc5xxx_can.c
index 799c354083c4..514d02064255 100644
--- 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 = {
OpenPOWER on IntegriCloud