[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <6c02765f89eb4455806b895a6e0cb763@realtek.com>
Date: Thu, 17 Aug 2023 02:06:44 +0000
From: Stanley Chang[昌育德] <stanley_chang@...ltek.com>
To: Geert Uytterhoeven <geert+renesas@...der.be>,
Vinod Koul <vkoul@...nel.org>,
Kishon Vijay Abraham I <kishon@...nel.org>,
"Greg Kroah-Hartman" <gregkh@...uxfoundation.org>
CC: "linux-phy@...ts.infradead.org" <linux-phy@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] phy: realtek: Realtek PHYs should depend on ARCH_REALTEK
Hi Geert,
> diff --git a/drivers/phy/realtek/Kconfig b/drivers/phy/realtek/Kconfig index
> 650e20ed69af41d2..75ac7e7c31aec6f2 100644
> --- a/drivers/phy/realtek/Kconfig
> +++ b/drivers/phy/realtek/Kconfig
> @@ -2,6 +2,9 @@
> #
> # Phy drivers for Realtek platforms
> #
> +
> +if ARCH_REALTEK || COMPILE_TEST
> +
> config PHY_RTK_RTD_USB2PHY
> tristate "Realtek RTD USB2 PHY Transceiver Driver"
> depends on USB_SUPPORT
> @@ -25,3 +28,5 @@ config PHY_RTK_RTD_USB3PHY
> The DHC (digital home center) RTD series SoCs used the Synopsys
> DWC3 USB IP. This driver will do the PHY initialization
> of the parameters.
> +
> +endif # ARCH_REALTEK || COMPILE_TEST
Thanks for your patch.
Why not use "depends on"?
depends on ARCH_MEDIATEK || COMPILE_TEST
Thanks,
Stanley
Powered by blists - more mailing lists