diff options
-rw-r--r-- | drivers/serial/max3107.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/serial/max3107.h b/drivers/serial/max3107.h index 72b30415f417..7ab632392502 100644 --- a/drivers/serial/max3107.h +++ b/drivers/serial/max3107.h | |||
@@ -368,8 +368,10 @@ struct max3107_port { | |||
368 | /* SPI device structure */ | 368 | /* SPI device structure */ |
369 | struct spi_device *spi; | 369 | struct spi_device *spi; |
370 | 370 | ||
371 | #if defined(CONFIG_GPIOLIB) | ||
371 | /* GPIO chip stucture */ | 372 | /* GPIO chip stucture */ |
372 | struct gpio_chip chip; | 373 | struct gpio_chip chip; |
374 | #endif | ||
373 | 375 | ||
374 | /* Workqueue that does all the magic */ | 376 | /* Workqueue that does all the magic */ |
375 | struct workqueue_struct *workqueue; | 377 | struct workqueue_struct *workqueue; |