Home
last modified time | relevance | path

Searched hist:c9a9972b (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/include/linux/gpio/
H A Ddriver.hc9a9972b Mon Nov 25 03:34:24 CST 2013 Alexandre Courbot <acourbot@nvidia.com> gpiolib: add missing declarations

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>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
c9a9972b Mon Nov 25 03:34:24 CST 2013 Alexandre Courbot <acourbot@nvidia.com> gpiolib: add missing declarations

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>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>