From: Alan Cox <alan@linux.intel.com>
To: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org,
greg@kroah.com
Subject: [RESEND PATCH] max3107: Fix gpiolib support
Date: Tue, 27 Jul 2010 08:16:05 +0100 [thread overview]
Message-ID: <20100727071551.25761.146.stgit@localhost.localdomain> (raw)
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>
---
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..7ab6323 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;
next reply other threads:[~2010-07-27 7:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-27 7:16 Alan Cox [this message]
2010-07-27 18:49 ` [RESEND PATCH] max3107: Fix gpiolib support Randy Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100727071551.25761.146.stgit@localhost.localdomain \
--to=alan@linux.intel.com \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox