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

Randy Dunlap rdunlap at infradead.org
Wed Oct 18 08:21:01 PDT 2023



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 at linux.intel.com>

Reviewed-by: Randy Dunlap <rdunlap at infradead.org>
Tested-by: Randy Dunlap <rdunlap at 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.
>  

-- 
~Randy



More information about the linux-phy mailing list