diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-10-12 09:44:51 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-11-27 09:49:34 +0100 |
commit | 09ca71cae2df6c8426ed3347f4de591812d92e2d (patch) | |
tree | c3f9d0043692a137b6909a308c1d621ff881f26a /drivers/net/can | |
parent | can: flexcan: add MODULE_DEVICE_TABLE (diff) | |
download | linux-09ca71cae2df6c8426ed3347f4de591812d92e2d.tar.xz linux-09ca71cae2df6c8426ed3347f4de591812d92e2d.zip |
can: at91_can: add MODULE_DEVICE_TABLE
This patch adds a MODULE_DEVICE_TABLE for the platform 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/at91_can.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/at91_can.c b/drivers/net/can/at91_can.c index fcff73a73b1d..14b166bdbeaf 100644 --- a/drivers/net/can/at91_can.c +++ b/drivers/net/can/at91_can.c @@ -1372,6 +1372,7 @@ static const struct platform_device_id at91_can_id_table[] = { /* sentinel */ } }; +MODULE_DEVICE_TABLE(platform, at91_can_id_table); static struct platform_driver at91_can_driver = { .probe = at91_can_probe, |