From: Guennadi Liakhovetski Date: Fri, 15 Apr 2011 18:18:57 +0000 (+0200) Subject: i2c: add a module alias to the sh-mobile driver X-Git-Tag: v3.0-rc1~320^2~18 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7ef0c12a280c059f4624d311bb1a7d946cbac7b7;p=karo-tx-linux.git 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 Reviewed-by: Simon Horman Cc: Magnus Damm Signed-off-by: Paul Mundt --- 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");