i2c: add a module alias to the sh-mobile driver
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 15 Apr 2011 18:18:57 +0000 (20:18 +0200)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 18 Apr 2011 09:44:54 +0000 (18:44 +0900)
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>
drivers/i2c/busses/i2c-sh_mobile.c

index 2707f5e17158a1dfe3b65e112f1a7a14824c253c..81ccd7875627e0c1e28b2086b039685168fb39b8 100644 (file)
@@ -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");