clk: zynqmp: Drop dependency on ARCH_ZYNQMP
authorPunit Agrawal <punit1.agrawal@toshiba.co.jp>
Mon, 22 Mar 2021 06:17:54 +0000 (15:17 +0900)
committerStephen Boyd <sboyd@kernel.org>
Thu, 8 Apr 2021 00:26:09 +0000 (17:26 -0700)
The clock driver depends on ZYNQMP_FIRMWARE which in turn depends on
ARCH_ZYNQMP. Simplify the Kconfig by dropping the redundant dependency
on ARCH_ZYNQMP as it'll be applied transitively via ZYNQMP_FIRMWARE.

Signed-off-by: Punit Agrawal <punit1.agrawal@toshiba.co.jp>
Link: https://lore.kernel.org/r/20210322061754.1065367-3-punit1.agrawal@toshiba.co.jp
Reviewed-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/zynqmp/Kconfig

index 14e4f5c..00df6be 100644 (file)
@@ -2,8 +2,7 @@
 
 config COMMON_CLK_ZYNQMP
        bool "Support for Xilinx ZynqMP Ultrascale+ clock controllers"
-       depends on ARCH_ZYNQMP || COMPILE_TEST
-       depends on ZYNQMP_FIRMWARE
+       depends on ZYNQMP_FIRMWARE || COMPILE_TEST
        default ZYNQMP_FIRMWARE
        help
          Support for the Zynqmp Ultrascale clock controller.