[PATCH -mmotm/-next] pinctrl: fix pxa2xx.c build warnings

From: Randy Dunlap
Date: Fri Feb 08 2019 - 22:16:32 EST

From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Add #include of <linux/pinctrl/machine.h> to fix build
warnings in pinctrl-pxa2xx.c. Fixes these warnings:

In file included from ../drivers/pinctrl/pxa/pinctrl-pxa2xx.c:24:0:
../drivers/pinctrl/pxa/../pinctrl-utils.h:36:8: warning: âenum pinctrl_map_typeâ declared inside parameter list [enabled by default]
enum pinctrl_map_type type);
../drivers/pinctrl/pxa/../pinctrl-utils.h:36:8: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Cc: Robert Jarzmik <robert.jarzmik@xxxxxxx>
Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
Seen in linux-next and mmotm.

drivers/pinctrl/pxa/pinctrl-pxa2xx.c | 1 +
1 file changed, 1 insertion(+)

--- mmotm-2019-0208-1633.orig/drivers/pinctrl/pxa/pinctrl-pxa2xx.c
+++ mmotm-2019-0208-1633/drivers/pinctrl/pxa/pinctrl-pxa2xx.c
@@ -14,6 +14,7 @@
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/module.h>
+#include <linux/pinctrl/machine.h>
#include <linux/pinctrl/pinconf.h>
#include <linux/pinctrl/pinconf-generic.h>
#include <linux/pinctrl/pinmux.h>