projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73ae949
)
can: ti_hecc: add MODULE_ALIAS
author
Marc Kleine-Budde
<mkl@pengutronix.de>
Mon, 29 Oct 2012 13:18:04 +0000
(14:18 +0100)
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 udev.
Tested-by: Jan Lübbe <jlu@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/ti_hecc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/can/ti_hecc.c
b/drivers/net/can/ti_hecc.c
index 9ded21e79db5866602706ca568dea6613bc0a727..1267b366dcfe491260095ab20389989a9efcbee2 100644
(file)
--- a/
drivers/net/can/ti_hecc.c
+++ b/
drivers/net/can/ti_hecc.c
@@
-1055,3
+1055,4
@@
module_platform_driver(ti_hecc_driver);
MODULE_AUTHOR("Anant Gole <anantgole@ti.com>");
MODULE_LICENSE("GPL v2");
MODULE_DESCRIPTION(DRV_DESC);
+MODULE_ALIAS("platform:" DRV_NAME);