From patchwork Thu Apr 9 08:37:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 459597 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 A1A5914012C for ; Thu, 9 Apr 2015 18:37:31 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754961AbbDIIha (ORCPT ); Thu, 9 Apr 2015 04:37:30 -0400 Received: from mail-la0-f42.google.com ([209.85.215.42]:36278 "EHLO mail-la0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753569AbbDIIh3 (ORCPT ); Thu, 9 Apr 2015 04:37:29 -0400 Received: by lagv1 with SMTP id v1so84249206lag.3 for ; Thu, 09 Apr 2015 01:37:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=71PGwIaFIlHh9n/M6YaSHmBY8BtJrwjLNf2upcUCxXg=; b=Z3/PQxgIz6cvlOnTtSUceA6Ab04wNJbnFDsHaFmygAl36G6m33aQkaLjfEPOO6gcxz X6H4H4ZPx3FhDq2dqmSvz+ck3VII6GozZLGFAIaIbknUWpWqE5epy8jxNnCDCmdaBccv smy0JLoUdstDk+AHK1bgYtbnnqOW/aN/wHDE3tlMpkq1/F23EcYPXUWnUEtydtn9GkGF cQXBvxyrfFKSXwPcHZcft91/2tB63Vzzb8bPzd4YfzPAPC9i/tMqr9j8xH36j2mjubHo QelVyGkJf5CvBfHH1E8VkveT3eC7NNm77koWqK3+ysuaRaPlPQzIicIPbcQXnZyGTATq rT1Q== X-Gm-Message-State: ALoCoQlT3HPNnL9GbFXK3wHBKldmgC3a6sbOxuNPMgbCFWnUiNjMhBdi2JTZV56/qnUJFcdg/sZO X-Received: by 10.112.171.101 with SMTP id at5mr4028178lbc.66.1428568647626; Thu, 09 Apr 2015 01:37:27 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id ls10sm3053399lac.14.2015.04.09.01.37.25 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Apr 2015 01:37:26 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Alexandre Courbot , Linus Walleij , Alexey Brodkin , Will Deacon Subject: [PATCH] gpio: dwapb: remove dependencies Date: Thu, 9 Apr 2015 10:37:21 +0200 Message-Id: <1428568641-16893-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.9.3 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The Synopsys DesignWare DWAPB GPIO block is popular to synthesize amongst many architectures: X86, ARM, ARC. The driver was restricted to only these archs due to using [read|write]l_relaxed() accessors that were not universally available in the past, but as of commit 9439eb3ab9d1ece6e4ad7baaa4a7f534f9b9dab0 "asm-generic: io: implement relaxed accessor macros as conditional wrappers" these accessors are available on all archs so this should not be a problem any more. Enable the driver for all archs. Cc: Alexey Brodkin Cc: Will Deacon Signed-off-by: Linus Walleij --- drivers/gpio/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 5b821a189780..17b72729ed3c 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -142,7 +142,6 @@ config GPIO_DAVINCI config GPIO_DWAPB tristate "Synopsys DesignWare APB GPIO driver" - depends on ((ARC || ARM || ARM64) && OF_GPIO) || X86_INTEL_QUARK select GPIO_GENERIC select GENERIC_IRQ_CHIP help