summaryrefslogtreecommitdiffstats
path: root/include/linux/eeprom_93xx46.h
diff options
context:
space:
mode:
authorFabio Estevam2017-07-20 04:35:29 +0200
committerGreg Kroah-Hartman2017-08-28 16:55:47 +0200
commite0552573575ef43daaee5b1a139952d6127f088c (patch)
tree5df31a5c25e4adf4f2af74b8cd3cbd1ec7ed16ee /include/linux/eeprom_93xx46.h
parentmisc: eeprom_93xx46: Simplify the usage of gpiod API (diff)
downloadkernel-qcow2-linux-e0552573575ef43daaee5b1a139952d6127f088c.tar.gz
kernel-qcow2-linux-e0552573575ef43daaee5b1a139952d6127f088c.tar.xz
kernel-qcow2-linux-e0552573575ef43daaee5b1a139952d6127f088c.zip
misc: eeprom_93xx46: Include <linux/gpio/consumer.h>
eeprom_93xx46_platform_data struct has a 'struct gpio_desc' type member, so it is better to include <linux/gpio/consumer.h>, which provides 'struct gpio_desc' type. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/eeprom_93xx46.h')
-rw-r--r--include/linux/eeprom_93xx46.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/eeprom_93xx46.h b/include/linux/eeprom_93xx46.h
index 885f587a3555..915898759280 100644
--- a/include/linux/eeprom_93xx46.h
+++ b/include/linux/eeprom_93xx46.h
@@ -2,8 +2,7 @@
* Module: eeprom_93xx46
* platform description for 93xx46 EEPROMs.
*/
-
-struct gpio_desc;
+#include <linux/gpio/consumer.h>
struct eeprom_93xx46_platform_data {
unsigned char flags;