From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756264AbdETQpQ (ORCPT ); Sat, 20 May 2017 12:45:16 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:33134 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756157AbdETQpO (ORCPT ); Sat, 20 May 2017 12:45:14 -0400 From: Peter Robinson To: MyungJoo Ham , Chanwoo Choi , linux-kernel@vger.kernel.org Cc: Peter Robinson Subject: [PATCH] extcon: qcom-spmi-misc: add dependency on ARCH_QCOM Date: Sat, 20 May 2017 17:45:07 +0100 Message-Id: <20170520164507.17448-1-pbrobinson@gmail.com> X-Mailer: git-send-email 2.13.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Depend on the architecture the device actuall is in, also add dep on the compile test to ensure continued coverage. Signed-off-by: Peter Robinson --- drivers/extcon/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/extcon/Kconfig b/drivers/extcon/Kconfig index 32f2dc8e4702..6d50071f07d5 100644 --- a/drivers/extcon/Kconfig +++ b/drivers/extcon/Kconfig @@ -115,6 +115,7 @@ config EXTCON_PALMAS config EXTCON_QCOM_SPMI_MISC tristate "Qualcomm USB extcon support" + depends on ARCH_QCOM || COMPILE_TEST help Say Y here to enable SPMI PMIC based USB cable detection support on Qualcomm PMICs such as PM8941. -- 2.13.0