提交 e38018be 编写于 作者: A Alan Cox 提交者: Greg Kroah-Hartman

serial: max3107: Fix gpiolib support

Because of the way gpiolib works we actually need to ifdef this in our
header file
Signed-off-by: NAlan Cox <alan@linux.intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 3c4108c8
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册