diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-10-12 09:45:14 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-11-27 09:49:32 +0100 |
commit | 73ae9499dba31479af168e1cb00ff29dc99b2c29 (patch) | |
tree | 49f52e5d150d316a694aabe043de2ef1092e3dd0 /drivers/net/can | |
parent | 04df25107345451575a2c57843271cfe71d4c64c (diff) | |
download | linux-73ae9499dba31479af168e1cb00ff29dc99b2c29.tar.gz linux-73ae9499dba31479af168e1cb00ff29dc99b2c29.tar.bz2 linux-73ae9499dba31479af168e1cb00ff29dc99b2c29.zip |
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 <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can')
-rw-r--r-- | drivers/net/can/bfin_can.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |