[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1500518129-2712-2-git-send-email-festevam@gmail.com>
Date: Wed, 19 Jul 2017 23:35:29 -0300
From: Fabio Estevam <festevam@...il.com>
To: gregkh@...uxfoundation.org
Cc: cory.tusar@...1solutions.com, linux-kernel@...r.kernel.org,
Fabio Estevam <fabio.estevam@....com>
Subject: [PATCH 2/2] misc: eeprom_93xx46: Include <linux/gpio/consumer.h>
From: Fabio Estevam <fabio.estevam@....com>
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@....com>
---
include/linux/eeprom_93xx46.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/linux/eeprom_93xx46.h b/include/linux/eeprom_93xx46.h
index 885f587..9158987 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;
--
2.7.4
Powered by blists - more mailing lists