1
0
Fork 0

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>
hifive-unleashed-5.1
Fabio Estevam 2017-07-19 23:35:29 -03:00 committed by Greg Kroah-Hartman
parent 54ec602370
commit e055257357
1 changed files with 1 additions and 2 deletions

View File

@ -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;