aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/reset/hisilicon
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-07-28 15:36:37 +0200
committerPhilipp Zabel <p.zabel@pengutronix.de>2016-08-30 17:09:14 +0200
commitcddb4800162e543c202cbb05795a324f1093d168 (patch)
tree5d48e152eb5855c27d1c67318378c2cdc2876747 /drivers/reset/hisilicon
parentreset: zynq: add driver Kconfig option (diff)
downloadlinux-dev-cddb4800162e543c202cbb05795a324f1093d168.tar.xz
linux-dev-cddb4800162e543c202cbb05795a324f1093d168.zip
reset: hi6220: allow to compile test driver on other architectures
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>
Diffstat (limited to 'drivers/reset/hisilicon')
-rw-r--r--drivers/reset/hisilicon/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/reset/hisilicon/Kconfig b/drivers/reset/hisilicon/Kconfig
index 26bf95a83a8e..1ff8b0c80980 100644
--- a/drivers/reset/hisilicon/Kconfig
+++ b/drivers/reset/hisilicon/Kconfig
@@ -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.