]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ARM: davinci: select CONFIG_RESET_CONTROLLER
authorArnd Bergmann <arnd@arndb.de>
Tue, 10 Dec 2019 19:51:44 +0000 (20:51 +0100)
committerOlof Johansson <olof@lixom.net>
Wed, 8 Jan 2020 18:23:55 +0000 (10:23 -0800)
commit7afec66e2bf5683d8bfc812cc295313d1b8473bc
treec578678878a4a74d2d79fee6fc716c08eb59dcf1
parentb583cef5690581fa5f15f373a27f5c023232464a
ARM: davinci: select CONFIG_RESET_CONTROLLER

Selecting RESET_CONTROLLER is actually required, otherwise we
can get a link failure in the clock driver:

drivers/clk/davinci/psc.o: In function `__davinci_psc_register_clocks':
psc.c:(.text+0x9a0): undefined reference to `devm_reset_controller_register'
drivers/clk/davinci/psc-da850.o: In function `da850_psc0_init':
psc-da850.c:(.text+0x24): undefined reference to `reset_controller_add_lookup'

Link: https://lore.kernel.org/r/20191210195202.622734-1-arnd@arndb.de
Fixes: f962396ce292 ("ARM: davinci: support multiplatform build for ARM v5")
Cc: <stable@vger.kernel.org> # v5.4
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-davinci/Kconfig