summaryrefslogtreecommitdiffstats
path: root/drivers/net/can
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2012-10-12 09:45:14 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2012-11-27 09:49:33 +0100
commitd8c4386d16160fba617dbe2f65906e20e865519f (patch)
treebc02524fb92ab91bbcc76bfb6aab97e9f6f2e4e6 /drivers/net/can
parent64116c148ce7c34b0bc00a04a8437ec922ea53c5 (diff)
downloadblackbird-op-linux-d8c4386d16160fba617dbe2f65906e20e865519f.tar.gz
blackbird-op-linux-d8c4386d16160fba617dbe2f65906e20e865519f.zip
can: sja1000_platform: 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/sja1000/sja1000_platform.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/sja1000/sja1000_platform.c b/drivers/net/can/sja1000/sja1000_platform.c
index 662c5f7eb0c5..21619bb5b869 100644
--- a/drivers/net/can/sja1000/sja1000_platform.c
+++ b/drivers/net/can/sja1000/sja1000_platform.c
@@ -34,6 +34,7 @@
MODULE_AUTHOR("Sascha Hauer <s.hauer@pengutronix.de>");
MODULE_DESCRIPTION("Socket-CAN driver for SJA1000 on the platform bus");
+MODULE_ALIAS("platform:" DRV_NAME);
MODULE_LICENSE("GPL v2");
static u8 sp_read_reg8(const struct sja1000_priv *priv, int reg)
OpenPOWER on IntegriCloud