diff options
author | Alan Cox <alan@linux.intel.com> | 2010-07-27 08:16:05 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-10 13:47:46 -0700 |
commit | e38018be3e7c03dd7e8f4ab0e1d55407cebbf89d (patch) | |
tree | 0725efad03d22a834791baaecb83d0f14bc0cc98 /drivers | |
parent | 3c4108c82f7769fcd265dc77a5bb0c6d8bcea25f (diff) | |
download | kernel_samsung_tuna-e38018be3e7c03dd7e8f4ab0e1d55407cebbf89d.zip kernel_samsung_tuna-e38018be3e7c03dd7e8f4ab0e1d55407cebbf89d.tar.gz kernel_samsung_tuna-e38018be3e7c03dd7e8f4ab0e1d55407cebbf89d.tar.bz2 |
serial: max3107: Fix gpiolib support
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>
Diffstat (limited to 'drivers')
-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 72b3041..7ab63239 100644 --- 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; |