Files
linux-stable-mirror/include/linux
Linus Walleij 0d74d4a161 pinctrl: add includes and ifdefs for non-DT builds
Commit e81c8f18af
"pinctrl: pinconf-generic: add generic APIs for mapping pinctrl node"
Added function prototypes with implicit dependencies
on other header files causing build warnings like this:

In file included from
arch/arm/mach-ux500/board-mop500-pins.c:12:0:
include/linux/pinctrl/pinconf-generic.h:142:3:
warning: 'struct device_node' declared inside parameter list [enabled
by default]
   unsigned *reserved_maps, unsigned *num_maps);
   ^
include/linux/pinctrl/pinconf-generic.h:142:3:
warning: its scope is only this definition or declaration, which is
probably not what you want [enabled by default]
include/linux/pinctrl/pinconf-generic.h:142:3:
warning: 'struct pinctrl_dev' declared inside parameter list [enabled
by default]
include/linux/pinctrl/pinconf-generic.h:145:3:
warning: 'struct device_node' declared inside parameter list [enabled
by default]
   unsigned *num_maps);
   ^
Let's just add ifdefs for non-DT systems (the actual code is
already ifdefed) and #include <linux/device.h> to get the
most important structs and forward-declare the pinctrl
core structs.

Reported-by: Olof Johansson <olof@lixom.net>
Cc: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-08-15 22:12:46 +02:00
..
2013-06-27 13:42:16 -04:00
2013-06-17 14:38:54 -04:00
2013-07-03 16:07:39 -07:00
2013-07-05 18:59:33 +04:00
2013-07-10 23:41:18 +01:00
2013-06-17 16:38:57 -07:00
2013-06-19 23:32:07 -04:00
2013-06-10 13:45:49 -07:00
2013-07-03 16:07:32 -07:00
2013-06-13 17:51:04 -07:00
2013-06-17 16:38:57 -07:00
2013-07-09 10:33:30 -07:00
2013-07-10 18:11:34 -07:00
2013-07-02 15:38:19 +09:30
2013-07-03 16:08:05 -07:00
2013-06-08 16:20:14 -04:00
2013-06-12 12:37:40 +01:00
2013-06-12 12:37:30 +01:00
2013-06-26 15:55:52 -06:00
2013-06-26 21:10:05 +02:00
2013-06-21 11:32:51 +02:00
2013-07-03 16:08:05 -07:00
2013-07-10 18:11:34 -07:00
2013-06-17 16:38:57 -07:00
2013-06-17 18:09:53 +09:00
2013-07-05 11:41:00 +05:30
2013-06-20 13:08:01 -07:00
2013-07-10 18:11:34 -07:00