pinctrl: forward-declare struct device
authorStephen Warren <swarren@wwwdotorg.org>
Tue, 6 Mar 2012 19:12:12 +0000 (12:12 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 6 Mar 2012 22:29:05 +0000 (23:29 +0100)
commit0acfb076f7987bd4bb5cd5de879ba3e3e71724e9
treef29b30e3ef22e236015862fc77325a4137f99c58
parent9a01be1715b6a027765701ca09ba0401ff066fc5
pinctrl: forward-declare struct device

Add a dummy declaration of struct device to avoid the following warning:

In file included from include/linux/pinctrl/machine.h:15:0,
                 from arch/arm/mach-tegra/board-pinmux.h:18,
                 from arch/arm/mach-tegra/board-trimslice-pinmux.c:20:
include/linux/pinctrl/pinctrl.h:115:12: warning: 'struct device' declared inside parameter list [enabled by default]
include/linux/pinctrl/pinctrl.h:115:12: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
include/linux/pinctrl/pinctrl.h