From: Geert Uytterhoeven Date: Fri, 15 Jan 2016 13:40:24 +0000 (+0100) Subject: phy: Restrict phy-hi6220-usb to HiSilicon arm64 X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=d896910f381737a139686eb3fa9e1c7ce8f59e52;p=deliverable%2Flinux.git phy: Restrict phy-hi6220-usb to HiSilicon arm64 The HiSilicon Hi6220 USB PHY is available in HiSilicon Hi6220 SoCs only. Restrict it to HiSilicon arm64, unless compile-testing. Signed-off-by: Geert Uytterhoeven Signed-off-by: Kishon Vijay Abraham I --- diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig index e7e117d5dbbe..0124d17bd9fe 100644 --- a/drivers/phy/Kconfig +++ b/drivers/phy/Kconfig @@ -224,6 +224,7 @@ config PHY_MT65XX_USB3 config PHY_HI6220_USB tristate "hi6220 USB PHY support" + depends on (ARCH_HISI && ARM64) || COMPILE_TEST select GENERIC_PHY select MFD_SYSCON help