]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: socfpga: fix missing RESET_CONTROLLER
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Mon, 7 Feb 2022 08:44:04 +0000 (09:44 +0100)
committerDinh Nguyen <dinguyen@kernel.org>
Mon, 7 Feb 2022 09:54:42 +0000 (03:54 -0600)
commit6fbd1738758e851718fad5230fbb1337062b8ad0
tree0430c79da18fe620ae3fbc518cbc76e1e406da60
parent991a5e519c2aa1f4ed2bf6e2139997d7e7967cb3
ARM: socfpga: fix missing RESET_CONTROLLER

The SocFPGA machine since commit 533c0b0df4cd ("reset: socfpga: add an
early reset driver for SoCFPGA") uses reset controller, so it should
select RESET_CONTROLLER explicitly.  Selecting ARCH_HAS_RESET_CONTROLLER
is not enough because it affects only default choice still allowing a
non-buildable configuration:

  /usr/bin/arm-linux-gnueabi-ld: arch/arm/mach-socfpga/socfpga.o: in function `socfpga_init_irq':
  arch/arm/mach-socfpga/socfpga.c:56: undefined reference to `socfpga_reset_init'

Reported-by: kernel test robot <lkp@intel.com>
Cc: <stable@vger.kernel.org>
Fixes: 533c0b0df4cd ("reset: socfpga: add an early reset driver for SoCFPGA")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm/mach-socfpga/Kconfig