lkml.org 
[lkml]   [2013]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2] gpiolib: add missing declarations
From
On Mon, Nov 25, 2013 at 10:34 AM, Alexandre Courbot <acourbot@nvidia.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@nvidia.com>
> Reported-by: Stephen Warren <swarren@wwwdotorg.org>
> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>

Patch applied for fixes.

Yours,
Linus Walleij


\
 
 \ /
  Last update: 2013-11-28 16:01    [W:0.066 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site