projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c4108c
)
serial: max3107: Fix gpiolib support
author
Alan Cox
<alan@linux.intel.com>
Tue, 27 Jul 2010 07:16:05 +0000
(08:16 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 10 Aug 2010 20:47:46 +0000
(13:47 -0700)
Because of the way gpiolib works we actually need to ifdef this in our
header file
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/max3107.h
patch
|
blob
|
history
diff --git
a/drivers/serial/max3107.h
b/drivers/serial/max3107.h
index 72b30415f4179dc6e5b629642e8fc75299376835..7ab6323925026920c1e30e17d49f68100da33490 100644
(file)
--- a/
drivers/serial/max3107.h
+++ b/
drivers/serial/max3107.h
@@
-368,8
+368,10
@@
struct max3107_port {
/* SPI device structure */
struct spi_device *spi;
+#if defined(CONFIG_GPIOLIB)
/* GPIO chip stucture */
struct gpio_chip chip;
+#endif
/* Workqueue that does all the magic */
struct workqueue_struct *workqueue;