]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
reset: hi6220: allow to compile test driver on other architectures
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 28 Jul 2016 13:36:37 +0000 (15:36 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 30 Aug 2016 15:09:14 +0000 (17:09 +0200)
Also remove the RESET_CONTROLLER dependency, this Kconfig file is
included inside the menuconfig already.

Cc: Chen Feng <puck.chen@hisilicon.com>
Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/Makefile
drivers/reset/hisilicon/Kconfig

index 56f90eab84cc875e2c34123b571eca1c33902596..bbe7026617fc77f0ed5766f73186d6dd36f8d0f3 100644 (file)
@@ -1,6 +1,6 @@
 obj-y += core.o
+obj-y += hisilicon/
 obj-$(CONFIG_ARCH_STI) += sti/
-obj-$(CONFIG_ARCH_HISI) += hisilicon/
 obj-$(CONFIG_RESET_ATH79) += reset-ath79.o
 obj-$(CONFIG_RESET_BERLIN) += reset-berlin.o
 obj-$(CONFIG_RESET_LPC18XX) += reset-lpc18xx.o
index 26bf95a83a8e40d20c4d880a330082f968453ea8..1ff8b0c80980b930d8a84f68e13d8a0a9c55037f 100644 (file)
@@ -1,5 +1,6 @@
 config COMMON_RESET_HI6220
        tristate "Hi6220 Reset Driver"
-       depends on (ARCH_HISI && RESET_CONTROLLER)
+       depends on ARCH_HISI || COMPILE_TEST
+       default ARCH_HISI
        help
          Build the Hisilicon Hi6220 reset driver.