From: Axel Lin Date: Fri, 8 May 2015 00:50:11 +0000 (+0800) Subject: i2c: hix5hd2: Fix modalias to make module auto-loading work X-Git-Tag: v4.0.6~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5133e0d6a2dbff70d322549ed354a1b0c462464;p=thirdparty%2Fkernel%2Fstable.git i2c: hix5hd2: Fix modalias to make module auto-loading work commit 3e59ae4aa28237ced95413fbd46004b57c4da095 upstream. Make the modalias match driver name, this is required to make module auto-loading work. Signed-off-by: Axel Lin Acked-by: Zhangfei Gao Signed-off-by: Wolfram Sang Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/i2c/busses/i2c-hix5hd2.c b/drivers/i2c/busses/i2c-hix5hd2.c index 8fe78d08e01cf..7c6966434ee7b 100644 --- a/drivers/i2c/busses/i2c-hix5hd2.c +++ b/drivers/i2c/busses/i2c-hix5hd2.c @@ -554,4 +554,4 @@ module_platform_driver(hix5hd2_i2c_driver); MODULE_DESCRIPTION("Hix5hd2 I2C Bus driver"); MODULE_AUTHOR("Wei Yan "); MODULE_LICENSE("GPL"); -MODULE_ALIAS("platform:i2c-hix5hd2"); +MODULE_ALIAS("platform:hix5hd2-i2c");