diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2017-07-19 23:35:29 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-28 16:55:47 +0200 |
commit | e0552573575ef43daaee5b1a139952d6127f088c (patch) | |
tree | 5df31a5c25e4adf4f2af74b8cd3cbd1ec7ed16ee /include/linux/eeprom_93xx46.h | |
parent | 54ec602370c4c818a9e9d8c4ef2a68ff8126997c (diff) |
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.h | 3 |
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; |