The change adds explicit inclusion of linux/pinctrl/machine.h header to the only needed pinctrl-madera-core.c file, and therefore inclusion of pinctrl/machine.h header from pinctrl/pinconf.h can be removed. The change is preparatory to a follow-up reversal of commit f07512e615dd ("pinctrl/pinconfig: add debug interface").
Unified · Split
| @@ -14,6 +14,7 @@ · 13 unmodified lines | ||
| 14 | 14 | #include <linux/platform_device.h> |
| 15 | 15 | #include <linux/regmap.h> |
| 16 | 16 | #include <linux/slab.h> |
| 17 | +#include <linux/pinctrl/machine.h> | |
| 17 | 18 | #include <linux/pinctrl/pinctrl.h> |
| 18 | 19 | #include <linux/pinctrl/pinmux.h> |
| 19 | 20 | #include <linux/pinctrl/pinconf.h> |
| @@ -14,8 +14,6 @@ · 13 unmodified lines | ||
| 14 | 14 | |
| 15 | 15 | #ifdef CONFIG_PINCONF |
| 16 | 16 | |
| 17 | −#include <linux/pinctrl/machine.h> | |
| 18 | − | |
| 19 | 17 | struct pinctrl_dev; |
| 20 | 18 | struct seq_file; |
| 21 | 19 | |