summaryrefslogtreecommitdiffstats
path: root/drivers/net/can/ti_hecc.c
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2012-10-29 14:18:04 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2012-11-27 09:49:32 +0100
commit64116c148ce7c34b0bc00a04a8437ec922ea53c5 (patch)
tree07f248816c66cd306e2cfb4892a70635065006eb /drivers/net/can/ti_hecc.c
parentcan: bfin_can: add MODULE_ALIAS (diff)
downloadlinux-64116c148ce7c34b0bc00a04a8437ec922ea53c5.tar.xz
linux-64116c148ce7c34b0bc00a04a8437ec922ea53c5.zip
can: ti_hecc: add MODULE_ALIAS
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>
Diffstat (limited to 'drivers/net/can/ti_hecc.c')
-rw-r--r--drivers/net/can/ti_hecc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/ti_hecc.c b/drivers/net/can/ti_hecc.c
index 9ded21e79db5..1267b366dcfe 100644
--- 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);