OSDN Git Service

clk: sunxi: Do not select the PRCM MFD
authorSamuel Holland <samuel@sholland.org>
Sat, 2 Jul 2022 19:01:35 +0000 (14:01 -0500)
committerJernej Skrabec <jernej.skrabec@gmail.com>
Mon, 4 Jul 2022 19:59:30 +0000 (21:59 +0200)
The PRCM MFD driver is already selected by the two platforms where it is
actually used (MACH_SUN6I and MACH_SUN8I). Selecting it here builds it
unnecessarily on the rest of the Allwinner platforms.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20220702190135.51744-2-samuel@sholland.org
drivers/clk/sunxi/Kconfig

index a5c2376..1c4e543 100644 (file)
@@ -19,7 +19,6 @@ config CLK_SUNXI_CLOCKS
 
 config CLK_SUNXI_PRCM_SUN6I
        bool "Legacy A31 PRCM driver"
-       select MFD_SUN6I_PRCM
        default y
        help
          Legacy clock driver for the A31 PRCM clocks. Those are
@@ -27,7 +26,6 @@ config CLK_SUNXI_PRCM_SUN6I
 
 config CLK_SUNXI_PRCM_SUN8I
        bool "Legacy sun8i PRCM driver"
-       select MFD_SUN6I_PRCM
        default y
        help
          Legacy clock driver for the sun8i family PRCM clocks.