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-Url: https://git.stricted.de/?a=commitdiff_plain;h=7ef0c12a280c059f4624d311bb1a7d946cbac7b7;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 2707f5e1715..81ccd787562 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");