Browse Source

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>
Guennadi Liakhovetski 14 years ago
parent
commit
7ef0c12a28
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/i2c/busses/i2c-sh_mobile.c

+ 1 - 0
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");