Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e38018be authored by Alan Cox's avatar Alan Cox Committed by Greg Kroah-Hartman
Browse files

serial: max3107: Fix gpiolib support



Because of the way gpiolib works we actually need to ifdef this in our
header file

Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 3c4108c8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;