From patchwork Thu Jul 7 20:45:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 646155 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3rlqPs4J9Tz9t0G for ; Fri, 8 Jul 2016 06:45:21 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751223AbcGGUpV (ORCPT ); Thu, 7 Jul 2016 16:45:21 -0400 Received: from mga01.intel.com ([192.55.52.88]:22750 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751206AbcGGUpU (ORCPT ); Thu, 7 Jul 2016 16:45:20 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 07 Jul 2016 13:45:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,325,1464678000"; d="scan'208";a="1002779756" Received: from black.fi.intel.com ([10.237.72.93]) by fmsmga001.fm.intel.com with ESMTP; 07 Jul 2016 13:45:11 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 55254CF; Thu, 7 Jul 2016 23:45:10 +0300 (EEST) From: Andy Shevchenko To: Linus Walleij , Alexandre Courbot , linux-gpio@vger.kernel.org, David Cohen , Mika Westerberg Cc: Andy Shevchenko Subject: [PATCH v1 1/1] gpio: intel-mid: Make it depend to X86_INTEL_MID Date: Thu, 7 Jul 2016 23:45:08 +0300 Message-Id: <1467924308-137452-1-git-send-email-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.8.1 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org This GPIO controller is a part of Intel MID platforms which are somehow different to pure PCs. Thus, there is no need that driver is compiled for them. Replace dependency to X86_INTEL_MID. While here, fix capitalization of MID abbreviation. Signed-off-by: Andy Shevchenko Reviewed-by: Mika Westerberg --- drivers/gpio/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index c9e9e55..98dd47a 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -1038,11 +1038,11 @@ config GPIO_BT8XX If unsure, say N. config GPIO_INTEL_MID - bool "Intel Mid GPIO support" - depends on X86 + bool "Intel MID GPIO support" + depends on X86_INTEL_MID select GPIOLIB_IRQCHIP help - Say Y here to support Intel Mid GPIO. + Say Y here to support Intel MID GPIO. config GPIO_MERRIFIELD tristate "Intel Merrifield GPIO support"