i2c: hix5hd2: allow build with ARCH_HISI
authorRuqiang Ju <juruqiang@huawei.com>
Mon, 24 Oct 2016 08:39:49 +0000 (16:39 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 25 Oct 2016 09:09:16 +0000 (11:09 +0200)
This driver should be buildable with ARCH_HISI,
because some of other HiSilicon SoCs also use it.

Signed-off-by: Ruqiang Ju <juruqiang@huawei.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/Kconfig

index 6d94e2ec5b4f7183734fbd1159db5d7013fa6f74..41abb20f082d7600493f5d2900f68e7cd15b0bd9 100644 (file)
@@ -79,12 +79,12 @@ config I2C_AMD8111
 
 config I2C_HIX5HD2
        tristate "Hix5hd2 high-speed I2C driver"
-       depends on ARCH_HIX5HD2 || COMPILE_TEST
+       depends on ARCH_HISI || ARCH_HIX5HD2 || COMPILE_TEST
        help
-         Say Y here to include support for high-speed I2C controller in the
-         Hisilicon based hix5hd2 SoCs.
+         Say Y here to include support for the high-speed I2C controller
+         used in HiSilicon hix5hd2 SoCs.
 
-         This driver can also be built as a module.  If so, the module
+         This driver can also be built as a module. If so, the module
          will be called i2c-hix5hd2.
 
 config I2C_I801