From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752293AbcAONk0 (ORCPT ); Fri, 15 Jan 2016 08:40:26 -0500 Received: from [195.130.132.51] ([195.130.132.51]:41558 "EHLO baptiste.telenet-ops.be" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1750894AbcAONkZ (ORCPT ); Fri, 15 Jan 2016 08:40:25 -0500 From: Geert Uytterhoeven To: Zhangfei Gao , Kishon Vijay Abraham I Cc: linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] phy: Restrict phy-hi6220-usb to HiSilicon arm64 Date: Fri, 15 Jan 2016 14:40:24 +0100 Message-Id: <1452865224-32188-1-git-send-email-geert@linux-m68k.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/phy/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig index e7e117d5dbbe466f..0124d17bd9fe4bbf 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 -- 1.9.1