summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2011-04-15 20:18:57 +0200
committerPaul Mundt <lethal@linux-sh.org>2011-04-18 11:44:54 +0200
commit7ef0c12a280c059f4624d311bb1a7d946cbac7b7 (patch)
treeee82d24578ee354f7c84899337270317ca2b2d47
parentALSA: add a module alias to the FSI driver (diff)
downloadlinux-7ef0c12a280c059f4624d311bb1a7d946cbac7b7.tar.xz
linux-7ef0c12a280c059f4624d311bb1a7d946cbac7b7.zip
i2c: add a module alias to the sh-mobile driver
This patch enables I2C driver autoloading on sh-mobile systems. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Reviewed-by: Simon Horman <horms@verge.net.au> Cc: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--drivers/i2c/busses/i2c-sh_mobile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-sh_mobile.c b/drivers/i2c/busses/i2c-sh_mobile.c
index 2707f5e17158..81ccd7875627 100644
--- a/drivers/i2c/busses/i2c-sh_mobile.c
+++ b/drivers/i2c/busses/i2c-sh_mobile.c
@@ -729,3 +729,4 @@ module_exit(sh_mobile_i2c_adap_exit);
MODULE_DESCRIPTION("SuperH Mobile I2C Bus Controller driver");
MODULE_AUTHOR("Magnus Damm");
MODULE_LICENSE("GPL v2");
+MODULE_ALIAS("platform:i2c-sh_mobile");