Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751563AbdCBXvV (ORCPT ); Thu, 2 Mar 2017 18:51:21 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:33346 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751148AbdCBXu7 (ORCPT ); Thu, 2 Mar 2017 18:50:59 -0500 From: Peter Robinson To: David Cohen , MyungJoo Ham , Chanwoo Choi , linux-kernel@vger.kernel.org Cc: Peter Robinson Subject: [PATCH] extcon: int3496: add dependency on X86 as it's Intel specific Date: Thu, 2 Mar 2017 18:10:10 +0000 Message-Id: <20170302181010.8006-1-pbrobinson@gmail.com> X-Mailer: git-send-email 2.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 740 Lines: 23 Add dependency on X86 so it doesn't show up on other arches and add a option for compile test so it still gets build coverage. Signed-off-by: Peter Robinson --- drivers/extcon/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/extcon/Kconfig b/drivers/extcon/Kconfig index 96bbae5..fc09c76 100644 --- a/drivers/extcon/Kconfig +++ b/drivers/extcon/Kconfig @@ -44,7 +44,7 @@ config EXTCON_GPIO config EXTCON_INTEL_INT3496 tristate "Intel INT3496 ACPI device extcon driver" - depends on GPIOLIB && ACPI + depends on GPIOLIB && ACPI && (X86 || COMPILE_TEST) help Say Y here to enable extcon support for USB OTG ports controlled by an Intel INT3496 ACPI device. -- 2.9.3