diff options
author | Stephen Warren <swarren@wwwdotorg.org> | 2012-03-06 23:12:12 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-03-07 02:29:05 +0400 |
commit | 0acfb076f7987bd4bb5cd5de879ba3e3e71724e9 (patch) | |
tree | f29b30e3ef22e236015862fc77325a4137f99c58 /include/linux/pinctrl/pinctrl.h | |
parent | 9a01be1715b6a027765701ca09ba0401ff066fc5 (diff) | |
download | linux-0acfb076f7987bd4bb5cd5de879ba3e3e71724e9.tar.xz |
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>
Diffstat (limited to 'include/linux/pinctrl/pinctrl.h')
-rw-r--r-- | include/linux/pinctrl/pinctrl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pinctrl/pinctrl.h b/include/linux/pinctrl/pinctrl.h index e9e94eb52d79..4e9f0788c221 100644 --- a/include/linux/pinctrl/pinctrl.h +++ b/include/linux/pinctrl/pinctrl.h @@ -19,6 +19,7 @@ #include <linux/seq_file.h> #include "pinctrl-state.h" +struct device; struct pinctrl_dev; struct pinmux_ops; struct pinconf_ops; |