From patchwork Fri Aug 29 12:51:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 36283 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f71.google.com (mail-qa0-f71.google.com [209.85.216.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EF5B92054D for ; Fri, 29 Aug 2014 12:52:13 +0000 (UTC) Received: by mail-qa0-f71.google.com with SMTP id s7sf7829804qap.6 for ; Fri, 29 Aug 2014 05:52:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=eg+SqdlVgGIjC+6Ca5wfK0dk5oEG0lUTtf612+jEIWM=; b=MYevGUgO8Pk9dtXQFDk33TPbyqaga6vGc4krn+WyTe1g/f0vHBeBt3pUu9j6MuVyNz cKdTuzzXUoJqVUBnX3g1Rx0FqPPC4LRo/ZqRKjFZI26vB7KmLITEN/eEfi0kQmhyXbvq y18rkROkZHR+DXSHzkEp/RY3KTDEUirnzNW+ZL3LiIqruYA9dtIHhMcvK15uXtJ8Q9H8 Wlj1zC9lY08eSlD6MN/QmnX/Jt6wpE7jt7lomnYJ5xXNaXbUiZ8IVoq+asjn3Inwd2K8 PibH3A42z10M3tYGaCckK8mVXPhrGh9UZ+mixtWKPfDYywqF7Ykb/YPhTWqi7KUGgJDw 6YIA== X-Gm-Message-State: ALoCoQlYMxDtmh0yVAY69EJOGFiiI7A6edWwS0xMqnXr9PBC0FZe6pjn5MJs9k5lGl6BcL2sjrlm X-Received: by 10.236.83.171 with SMTP id q31mr1106424yhe.13.1409316733769; Fri, 29 Aug 2014 05:52:13 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.40.180 with SMTP id x49ls211619qgx.97.gmail; Fri, 29 Aug 2014 05:52:13 -0700 (PDT) X-Received: by 10.220.163.69 with SMTP id z5mr10054426vcx.10.1409316733697; Fri, 29 Aug 2014 05:52:13 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id wa16si6182909vdc.51.2014.08.29.05.52.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 29 Aug 2014 05:52:13 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id ij19so2425199vcb.3 for ; Fri, 29 Aug 2014 05:52:13 -0700 (PDT) X-Received: by 10.52.129.200 with SMTP id ny8mr8356430vdb.27.1409316733541; Fri, 29 Aug 2014 05:52:13 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp10904vcb; Fri, 29 Aug 2014 05:52:13 -0700 (PDT) X-Received: by 10.68.133.170 with SMTP id pd10mr15059993pbb.83.1409316732594; Fri, 29 Aug 2014 05:52:12 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qy4si110809pbb.64.2014.08.29.05.52.12 for ; Fri, 29 Aug 2014 05:52:12 -0700 (PDT) Received-SPF: none (google.com: linux-gpio-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752814AbaH2MwM (ORCPT ); Fri, 29 Aug 2014 08:52:12 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:61491 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752150AbaH2MwL (ORCPT ); Fri, 29 Aug 2014 08:52:11 -0400 Received: by mail-wi0-f176.google.com with SMTP id bs8so8983378wib.15 for ; Fri, 29 Aug 2014 05:52:09 -0700 (PDT) X-Received: by 10.194.103.41 with SMTP id ft9mr13095779wjb.93.1409316729728; Fri, 29 Aug 2014 05:52:09 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id lq8sm18311110wjb.49.2014.08.29.05.52.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Aug 2014 05:52:08 -0700 (PDT) From: Linus Walleij To: Laurent Pinchart , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: linux-gpio@vger.kernel.org, Linus Walleij , Laurent Pinchart Subject: [PATCH] pinctrl: sh-pfc: use a saner Kconfig symbol Date: Fri, 29 Aug 2014 14:51:59 +0200 Message-Id: <1409316719-28904-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.9.3 Sender: linux-gpio-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-gpio@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , There is currently a kludge to get the Makefile to move down to sh-pfc:s drivers: the arch definitions are used twice to get it done. However we can very well use the Kconfig symbol for the SH PFC pin control feature itself: it doesn't matter that it comes from a lower leaf in the Kconfig hierarchy which is completely orthogonal. Cc: Laurent Pinchart Signed-off-by: Linus Walleij Acked-by: Laurent Pinchart --- drivers/pinctrl/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/pinctrl/Makefile b/drivers/pinctrl/Makefile index 7ebb3c5a9c30..0ffe1f608c67 100644 --- a/drivers/pinctrl/Makefile +++ b/drivers/pinctrl/Makefile @@ -60,8 +60,7 @@ obj-$(CONFIG_PLAT_ORION) += mvebu/ obj-y += nomadik/ obj-$(CONFIG_ARCH_QCOM) += qcom/ obj-$(CONFIG_PINCTRL_SAMSUNG) += samsung/ -obj-$(CONFIG_ARCH_SHMOBILE) += sh-pfc/ -obj-$(CONFIG_SUPERH) += sh-pfc/ +obj-$(CONFIG_PINCTRL_SH_PFC) += sh-pfc/ obj-$(CONFIG_PLAT_SPEAR) += spear/ obj-$(CONFIG_ARCH_SUNXI) += sunxi/ obj-$(CONFIG_ARCH_VT8500) += vt8500/