From patchwork Fri Nov 4 21:50:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 80931 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp191030qge; Fri, 4 Nov 2016 14:50:43 -0700 (PDT) X-Received: by 10.99.116.15 with SMTP id p15mr25182950pgc.167.1478296243128; Fri, 04 Nov 2016 14:50:43 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p78si5517169pfj.299.2016.11.04.14.50.42; Fri, 04 Nov 2016 14:50:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761593AbcKDVum (ORCPT + 4 others); Fri, 4 Nov 2016 17:50:42 -0400 Received: from mail-qk0-f176.google.com ([209.85.220.176]:32877 "EHLO mail-qk0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753003AbcKDVul (ORCPT ); Fri, 4 Nov 2016 17:50:41 -0400 Received: by mail-qk0-f176.google.com with SMTP id x190so112754566qkb.0 for ; Fri, 04 Nov 2016 14:50:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=gIqXt0ztS5JiBF/41cAb+VqyGn01mUeYKxUJ+B7hYAQ=; b=KEpSfO33oB3TiolStT4Wa5R8BteMVuAVJBDi5XG+ixPJ44PuVKqCKLurpxwOMbLjaP Tov5MpbAkLYQ3SdUeCycpR8JvBjS7aZN2sDsLlbwIBEc5FDC/5JqTWblA9fH7pG+IPXK 9YHqHPGJmqoN0DEHT+UYWgMJjHeBILDoOOL58= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=gIqXt0ztS5JiBF/41cAb+VqyGn01mUeYKxUJ+B7hYAQ=; b=AUTRS3WDENp1MMLKFpUgC3pXDPAxtco/uzT5T0T9NYxvJCxSsXkVPCEr+l/q3YZqzz MflQ6xxmoR5CblXL2yoUPMJktJ1Q4eV6WT0hlbwsaEZ384UG83KAYxBD+T0dAY79/r95 TuU8oPUQT4rMyGUOFVv/nHHssmdnW2VLoZyXI6/oAk7DYQFfZ9Eb0bTeOoJ4NRUs0WCk N7dNxJ1JydvM0/vICy9wbUY5VJAd0mrTUZl8cfovFJDAnoR7e//k+trKUs8dk3BSvwcp ETEhdmU7qefuHP+HJ4VfShORi/7AH0GOMEWr+kiR0AD0OJ2izuW0xv6I/RvnVxJYhfSn perw== X-Gm-Message-State: ABUngvccAgrlSSkbAAL6s95FZpXMawZwmLUKCs0HxgPafeEb9fmKLWjEkGQJ2o/Sdr08K/V4qnPFzr82id6jguTB X-Received: by 10.55.3.67 with SMTP id 64mr17509834qkd.257.1478296240224; Fri, 04 Nov 2016 14:50:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.140.13 with HTTP; Fri, 4 Nov 2016 14:50:39 -0700 (PDT) In-Reply-To: <20161103163550.27330-2-tony@atomide.com> References: <20161103163550.27330-1-tony@atomide.com> <20161103163550.27330-2-tony@atomide.com> From: Linus Walleij Date: Fri, 4 Nov 2016 22:50:39 +0100 Message-ID: Subject: Re: [PATCH 1/4] pinctrl: Introduce generic #pinctrl-cells and pinctrl_parse_index_with_args To: Tony Lindgren Cc: Jon Hunter , Mark Rutland , Rob Herring , Grygorii Strashko , Nishanth Menon , "linux-gpio@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Linux-OMAP Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Thu, Nov 3, 2016 at 5:35 PM, Tony Lindgren wrote: > Introduce #pinctrl-cells helper binding and generic helper functions > pinctrl_count_index_with_args() and pinctrl_parse_index_with_args(). > > Acked-by: Rob Herring > Signed-off-by: Tony Lindgren Ooops applied this v2 version instead of the v1. * kbuild test robot [161103 13:29]: > In file included from drivers/pinctrl/core.c:36:0: > >> drivers/pinctrl/devicetree.h:29:14: warning: 'struct of_phandle_args' declared inside parameter list will not be visible outside of this definition or declaratio > Hmm maybe we should just include of.h in core.c? Nah. I just did this: Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/pinctrl/devicetree.h b/drivers/pinctrl/devicetree.h index 7f0a5c4e15ad..c2d1a5505850 100644 --- a/drivers/pinctrl/devicetree.h +++ b/drivers/pinctrl/devicetree.h @@ -16,6 +16,8 @@ * along with this program. If not, see . */ +struct of_phandle_args; + #ifdef CONFIG_OF Let's see if it works!