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: 9413399 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6DD4360573 for ; Fri, 4 Nov 2016 21:51:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5D0142B214 for ; Fri, 4 Nov 2016 21:51:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4F21D2B218; Fri, 4 Nov 2016 21:51:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 45BB22B214 for ; Fri, 4 Nov 2016 21:51:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761607AbcKDVum (ORCPT ); Fri, 4 Nov 2016 17:50:42 -0400 Received: from mail-qk0-f172.google.com ([209.85.220.172]:36651 "EHLO mail-qk0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757164AbcKDVul (ORCPT ); Fri, 4 Nov 2016 17:50:41 -0400 Received: by mail-qk0-f172.google.com with SMTP id n21so3670938qka.3 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=ReFYNebviSmMC+KLjm7DWzGawxxwls4zTnUfIYVjA65N6o/DSRZzvDrmtuy+A0jGsB nFs5mJdGx8Q5tvjqiXEYwtthYTfBJWg1mvwJW+B+TjBEE5aRh5YFx54zAf1A+YV1xZRe HCVAVuv7NKUHV8ntP/3tJ8B6KSaB4xcq+iAQgAOOMPnzfhvmxDu4RaOdoTOTXQc8VxRp cmsrk2wkL/ZexPV0IwWqEfMLt6exM4Ait1Rz2AQX6pDDzGDfzFLjLJdqNg7YcsetHwg2 z6I6D9nfWnNEIrPqOz7mXe/ayaud2i5rjmTfbYCXF0BD0e0RcGABaQRjKbd98xdARGKn HzIw== X-Gm-Message-State: ABUngvewbmUSXxn0+GJsOKcnvGA8p/RDzeJ5JjxUbDWWXdZWgKzSeGoLTC4T33GGB/ir4vtrqpGzDkrYt5j0C5D3 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-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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-omap" 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!