Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+3 -2
+1 -1
drivers/reset/Makefile
··· 1 1 obj-y += core.o 2 + obj-y += hisilicon/ 2 3 obj-$(CONFIG_ARCH_STI) += sti/ 3 - obj-$(CONFIG_ARCH_HISI) += hisilicon/ 4 4 obj-$(CONFIG_RESET_ATH79) += reset-ath79.o 5 5 obj-$(CONFIG_RESET_BERLIN) += reset-berlin.o 6 6 obj-$(CONFIG_RESET_LPC18XX) += reset-lpc18xx.o
+2 -1
drivers/reset/hisilicon/Kconfig
··· 1 1 config COMMON_RESET_HI6220 2 2 tristate "Hi6220 Reset Driver" 3 - depends on (ARCH_HISI && RESET_CONTROLLER) 3 + depends on ARCH_HISI || COMPILE_TEST 4 + default ARCH_HISI 4 5 help 5 6 Build the Hisilicon Hi6220 reset driver.