diff mbox series

[1/1] phy: Kconfig: Select GENERIC_PHY for GENERIC_PHY_MIPI_DPHY

Message ID 20231017080354.538047-1-sakari.ailus@linux.intel.com
State Accepted
Commit d0ec7b9c3153c941f98226001d4019d9c03faf81
Headers show
Series [1/1] phy: Kconfig: Select GENERIC_PHY for GENERIC_PHY_MIPI_DPHY | expand

Commit Message

Sakari Ailus Oct. 17, 2023, 8:03 a.m. UTC
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>
---
 drivers/phy/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Randy Dunlap Oct. 18, 2023, 3:21 p.m. UTC | #1
On 10/17/23 01:03, Sakari Ailus wrote:
> 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>

Thanks.

> ---
>  drivers/phy/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
> index d1670bbe6d6b..787354b849c7 100644
> --- a/drivers/phy/Kconfig
> +++ b/drivers/phy/Kconfig
> @@ -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.
>
Vinod Koul Oct. 23, 2023, 6:29 a.m. UTC | #2
On Tue, 17 Oct 2023 11:03:54 +0300, Sakari Ailus wrote:
> 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.
> 
> 

Applied, thanks!

[1/1] phy: Kconfig: Select GENERIC_PHY for GENERIC_PHY_MIPI_DPHY
      commit: d0ec7b9c3153c941f98226001d4019d9c03faf81

Best regards,
diff mbox series

Patch

diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index d1670bbe6d6b..787354b849c7 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -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.