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: 384223 X-Patchwork-Delegate: linus.walleij@linaro.org 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 82BE71400B6 for ; Fri, 29 Aug 2014 22:52:13 +1000 (EST) 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-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=KdvsadZI9mA2MEozQLiMdAiugY2RPCX0gPI3UbLib74=; b=A5ykR48kIB8fl5WyrUvzW5oOZh1sSDBskWa5w+y344mS9/fdM9AEKoftu3njnK6q1n kFIJEdX2JFgEW/+jVeK2Cnz3BfZ20fI+11msKtL8St6yPHqzwc2Ej5iejilyDVZFNFEg 1obKJfR0N7JaQhuH4vrUNW9XpaocmZfzVJRvltzO8RDtkzde9l/aVmA5dqWcenhTxoRB IxS1IvV5VtEnF8fsZEFsKNnRsGjZmYtB59TpUL38Q/Otn7YO1Qfp8Ing4SZVAhUAOUgI 09goTLBXWEBMLjHhx5psJU2W6HrQLY7Hika7CZao25VW7PMjLggoNFwqoE7QBesf4esj J6cQ== X-Gm-Message-State: ALoCoQlU3mxdgRqGBTgO6uehRpJX0DY471gILDyUyXNCQbWjEbJvACOoQnt4FvuKI8ZdX8xbP0tj 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: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org 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/