OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54ec602
)
misc: eeprom_93xx46: Include <linux/gpio/consumer.h>
author
Fabio Estevam
<fabio.estevam@nxp.com>
Thu, 20 Jul 2017 02:35:29 +0000
(23:35 -0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 14:55:47 +0000
(16:55 +0200)
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>
include/linux/eeprom_93xx46.h
patch
|
blob
|
history
diff --git
a/include/linux/eeprom_93xx46.h
b/include/linux/eeprom_93xx46.h
index
885f587
..
9158987
100644
(file)
--- 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;