Skip to content

Commit fe013e2

Browse files
arndbolofj
authored andcommitted
ARM: omap2plus: select RESET_CONTROLLER
With the new omap_prm driver added unconditionally, omap2 builds fail when the reset controller subsystem is disabled: drivers/soc/ti/omap_prm.o: In function `omap_prm_probe': omap_prm.c:(.text+0x2d4): undefined reference to `devm_reset_controller_register' Link: https://lore.kernel.org/r/20191216132132.3330811-1-arnd@arndb.de Fixes: 3e99cb2 ("soc: ti: add initial PRM driver with reset control support") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Olof Johansson <olof@lixom.net>
1 parent 7afec66 commit fe013e2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

arch/arm/mach-omap2/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ config ARCH_OMAP2PLUS
9595
bool
9696
select ARCH_HAS_BANDGAP
9797
select ARCH_HAS_HOLES_MEMORYMODEL
98+
select ARCH_HAS_RESET_CONTROLLER
9899
select ARCH_OMAP
99100
select CLKSRC_MMIO
100101
select GENERIC_IRQ_CHIP
@@ -105,11 +106,11 @@ config ARCH_OMAP2PLUS
105106
select OMAP_DM_TIMER
106107
select OMAP_GPMC
107108
select PINCTRL
109+
select RESET_CONTROLLER
108110
select SOC_BUS
109111
select TI_SYSC
110112
select OMAP_IRQCHIP
111113
select CLKSRC_TI_32K
112-
select ARCH_HAS_RESET_CONTROLLER
113114
help
114115
Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
115116

0 commit comments

Comments
 (0)