Skip to content

Commit

Permalink
reset: hi6220: allow to compile test driver on other architectures
Browse files Browse the repository at this point in the history
Also remove the RESET_CONTROLLER dependency, this Kconfig file is
included inside the menuconfig already.

Cc: Chen Feng <[email protected]>
Reviewed-by: Masahiro Yamada <[email protected]>
Signed-off-by: Philipp Zabel <[email protected]>
  • Loading branch information
pH5 committed Aug 30, 2016
1 parent 6f51b86 commit cddb480
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/reset/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion drivers/reset/hisilicon/Kconfig
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit cddb480

Please sign in to comment.