Re: [PATCH 1/4] pinctrl: Introduce generic #pinctrl-cells and pinctrl_parse_index_with_args
From: Tony Lindgren
Date: Thu Nov 03 2016 - 16:48:34 EST
* kbuild test robot <lkp@xxxxxxxxx> [161103 13:29]:
> In file included from drivers/pinctrl/core.c:36:0:
> >> drivers/pinctrl/devicetree.h:29:14: warning: 'struct of_phandle_args' declared inside parameter list will not be visible outside of this definition or declaratio
Hmm maybe we should just include of.h in core.c?
Regards,
Tony
8< ----------------------
diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl/core.c
--- a/drivers/pinctrl/core.c
+++ b/drivers/pinctrl/core.c
@@ -23,6 +23,7 @@
#include <linux/list.h>
#include <linux/sysfs.h>
#include <linux/debugfs.h>
+#include <linux/of.h>
#include <linux/seq_file.h>
#include <linux/pinctrl/consumer.h>
#include <linux/pinctrl/pinctrl.h>