From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761695AbcKDVun (ORCPT ); Fri, 4 Nov 2016 17:50:43 -0400 Received: from mail-qk0-f182.google.com ([209.85.220.182]:33901 "EHLO mail-qk0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758197AbcKDVul (ORCPT ); Fri, 4 Nov 2016 17:50:41 -0400 MIME-Version: 1.0 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 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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: 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! Yours, Linus Walleij