This driver does not use any symbols from <linux/gpio.h> no <linux/gpio/consumer.h> so just drop the includes.
Unified · Split
| @@ -14,9 +14,7 @@ · 13 unmodified lines | |||
| 14 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
| 15 | #include <linux/bug.h> | 15 | #include <linux/bug.h> |
| 16 | #include <linux/err.h> | 16 | #include <linux/err.h> |
| 17 | #include <linux/gpio.h> | ||
| 18 | #include <linux/slab.h> | 17 | #include <linux/slab.h> |
| 19 | #include <linux/gpio/consumer.h> | ||
| 20 | #include <linux/module.h> | 18 | #include <linux/module.h> |
| 21 | #include <linux/platform_device.h> | 19 | #include <linux/platform_device.h> |
| 22 | #include <linux/regulator/driver.h> | 20 | #include <linux/regulator/driver.h> |