[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZMjmmUN0LkAZiBU8Dvy74zFZ2fQhRxeUMWbTfXupVzoA@mail.gmail.com>
Date: Thu, 28 Nov 2013 15:32:37 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Alexandre Courbot <acourbot@...dia.com>
Cc: Stephen Warren <swarren@...dotorg.org>,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] gpiolib: add missing declarations
On Mon, Nov 25, 2013 at 10:34 AM, Alexandre Courbot <acourbot@...dia.com> wrote:
> Add declaration of 'struct of_phandle_args' to avoid the following
> warning:
>
> In file included from arch/arm/mach-tegra/board-paz00.c:21:0:
> include/linux/gpio/driver.h:102:17: warning: 'struct of_phandle_args' declared inside parameter list
> include/linux/gpio/driver.h:102:17: warning: its scope is only this definition or declaration, which is probably not what you want
>
> Also proactively add other definitions/includes that could be missing
> in other contexts.
>
> Signed-off-by: Alexandre Courbot <acourbot@...dia.com>
> Reported-by: Stephen Warren <swarren@...dotorg.org>
> Reviewed-by: Mika Westerberg <mika.westerberg@...ux.intel.com>
Patch applied for fixes.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists