From: Marc Kleine-Budde Date: Fri, 12 Oct 2012 07:45:14 +0000 (+0200) Subject: can: bfin_can: add MODULE_ALIAS X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=73ae9499dba31479af168e1cb00ff29dc99b2c29;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git can: bfin_can: add MODULE_ALIAS This patch adds a MODULE_ALIAS 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/bfin_can.c b/drivers/net/can/bfin_can.c index f2d6d258a286..a3f8de962258 100644 --- a/drivers/net/can/bfin_can.c +++ b/drivers/net/can/bfin_can.c @@ -691,3 +691,4 @@ module_platform_driver(bfin_can_driver); MODULE_AUTHOR("Barry Song <21cnbao@gmail.com>"); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("Blackfin on-chip CAN netdevice driver"); +MODULE_ALIAS("platform:" DRV_NAME);