projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04df251
)
can: bfin_can: add MODULE_ALIAS
author
Marc Kleine-Budde
<mkl@pengutronix.de>
Fri, 12 Oct 2012 07:45:14 +0000
(09:45 +0200)
committer
Marc Kleine-Budde
<mkl@pengutronix.de>
Tue, 27 Nov 2012 08:49:32 +0000
(09:49 +0100)
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>
drivers/net/can/bfin_can.c
patch
|
blob
|
history
diff --git
a/drivers/net/can/bfin_can.c
b/drivers/net/can/bfin_can.c
index f2d6d258a28629e3462921d37555cc85fbdb1ccb..a3f8de962258f3c0aad56378647541134e765bd0 100644
(file)
--- 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);