From: Marc Kleine-Budde Date: Fri, 12 Oct 2012 07:44:51 +0000 (+0200) Subject: can: at91_can: add MODULE_DEVICE_TABLE X-Git-Tag: next-20121205~23^2~47^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=09ca71cae2df6c8426ed3347f4de591812d92e2d;p=karo-tx-linux.git 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 --- 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,