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

reset: sunxi: add driver Kconfig option

Visible only if COMPILE_TEST is enabled, this allows to include the
driver in build tests.

Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>

+7 -1
+6
drivers/reset/Kconfig
··· 60 60 help 61 61 This enables the RCC reset controller driver for STM32 MCUs. 62 62 63 + config RESET_SUNXI 64 + bool "Allwinner SoCs Reset Driver" if COMPILE_TEST && !ARCH_SUNXI 65 + default ARCH_SUNXI 66 + help 67 + This enables the reset driver for Allwinner SoCs. 68 + 63 69 config TI_SYSCON_RESET 64 70 tristate "TI SYSCON Reset Driver" 65 71 depends on HAS_IOMEM
+1 -1
drivers/reset/Makefile
··· 1 1 obj-y += core.o 2 - obj-$(CONFIG_ARCH_SUNXI) += reset-sunxi.o 3 2 obj-$(CONFIG_ARCH_STI) += sti/ 4 3 obj-$(CONFIG_ARCH_HISI) += hisilicon/ 5 4 obj-$(CONFIG_ARCH_ZYNQ) += reset-zynq.o ··· 10 11 obj-$(CONFIG_RESET_PISTACHIO) += reset-pistachio.o 11 12 obj-$(CONFIG_RESET_SOCFPGA) += reset-socfpga.o 12 13 obj-$(CONFIG_RESET_STM32) += reset-stm32.o 14 + obj-$(CONFIG_RESET_SUNXI) += reset-sunxi.o 13 15 obj-$(CONFIG_TI_SYSCON_RESET) += reset-ti-syscon.o 14 16 obj-$(CONFIG_RESET_UNIPHIER) += reset-uniphier.o