From patchwork Thu Mar 5 16:46:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 446778 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 B9E8414015A for ; Fri, 6 Mar 2015 03:46:13 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752560AbbCEQqM (ORCPT ); Thu, 5 Mar 2015 11:46:12 -0500 Received: from mga11.intel.com ([192.55.52.93]:1327 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751220AbbCEQqM (ORCPT ); Thu, 5 Mar 2015 11:46:12 -0500 Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP; 05 Mar 2015 08:46:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,348,1422950400"; d="scan'208";a="462992831" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.90]) by FMSMGA003.fm.intel.com with ESMTP; 05 Mar 2015 08:39:46 -0800 Received: from andy by smile with local (Exim 4.84) (envelope-from ) id 1YTYuU-0001pM-IL; Thu, 05 Mar 2015 18:46:06 +0200 From: Andy Shevchenko To: linux-gpio@vger.kernel.org, Linus Walleij , Lee Jones , Raymond Tan , "Ong, Boon Leong" Cc: Andy Shevchenko Subject: [PATCH v1 1/1] gpio: dwapb: enable for Quark Date: Thu, 5 Mar 2015 18:46:05 +0200 Message-Id: <1425573965-6971-1-git-send-email-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.1.4 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The Intel Quark SoC contains the DW GPIO on board. While fixing the build error the commit 1972c97db5b0 (gpio: dwapb: fix compile errors) disables the possibility to build the driver on X86, i.e. Intel Quark. The patch reenables it for Intel Quark as well. Since we have Intel Quark SoC introduced in 4.0-rc1 I would like to make this fix available there as well, though the actual MFD driver [1] is not yet applied. [1] https://lkml.org/lkml/2015/2/1/217 Fixes: 1972c97db5b0 (gpio: dwapb: fix compile errors) Signed-off-by: Andy Shevchenko --- drivers/gpio/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index c1e2ca3..0e78943 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -148,8 +148,7 @@ config GPIO_GENERIC_PLATFORM config GPIO_DWAPB tristate "Synopsys DesignWare APB GPIO driver" - depends on ARM - depends on OF_GPIO + depends on (ARM && OF_GPIO || X86_INTEL_QUARK) select GPIO_GENERIC select GENERIC_IRQ_CHIP help