aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-hix5hd2.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-05-08 08:50:11 +0800
committerWolfram Sang <wsa@the-dreams.de>2015-05-12 18:09:33 +0200
commit3e59ae4aa28237ced95413fbd46004b57c4da095 (patch)
tree58fce17770b0e4151b8573b89182b0c34ac8d190 /drivers/i2c/busses/i2c-hix5hd2.c
parent5ebe6afaf0057ac3eaeb98defd5456894b446d22 (diff)
i2c: hix5hd2: Fix modalias to make module auto-loading work
Make the modalias match driver name, this is required to make module auto-loading work. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Zhangfei Gao <zhangfei.gao@linaro.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Cc: stable@kernel.org
Diffstat (limited to 'drivers/i2c/busses/i2c-hix5hd2.c')
-rw-r--r--drivers/i2c/busses/i2c-hix5hd2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-hix5hd2.c b/drivers/i2c/busses/i2c-hix5hd2.c
index 8fe78d08e01c..7c6966434ee7 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 <sledge.yanwei@huawei.com>");
MODULE_LICENSE("GPL");
-MODULE_ALIAS("platform:i2c-hix5hd2");
+MODULE_ALIAS("platform:hix5hd2-i2c");