phy: Kconfig: Select GENERIC_PHY for GENERIC_PHY_MIPI_DPHY
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 17 Oct 2023 08:03:54 +0000 (11:03 +0300)
committerVinod Koul <vkoul@kernel.org>
Mon, 23 Oct 2023 06:24:49 +0000 (11:54 +0530)
GENERIC_PHY can be selected by GENERIC_PHY_MIPI_DPHY directly as
GENERIC_PHY has no dependencies. This way drivers that depend on
GENERIC_PHY_MIPI_DPHY can avoid having to select both --- which they
apparently often omit, too, which further leads to build failures.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20231017080354.538047-1-sakari.ailus@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/Kconfig

index d1670bb..787354b 100644 (file)
@@ -18,7 +18,7 @@ config GENERIC_PHY
 
 config GENERIC_PHY_MIPI_DPHY
        bool
-       depends on GENERIC_PHY
+       select GENERIC_PHY
        help
          Generic MIPI D-PHY support.