From: Markus Pargmann <mpa@pengutronix.de>
To: Jonathan Cameron <jic23@kernel.org>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>,
Vlad Dogaru <vlad.dogaru@intel.com>,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
kernel@pengutronix.de, Markus Pargmann <mpa@pengutronix.de>
Subject: [PATCH 1/7] iio: bmg160: IIO_BUFFER and IIO_TRIGGERED_BUFFER are required
Date: Wed, 29 Jul 2015 15:46:03 +0200 [thread overview]
Message-ID: <1438177569-18772-2-git-send-email-mpa@pengutronix.de> (raw)
In-Reply-To: <1438177569-18772-1-git-send-email-mpa@pengutronix.de>
This patch adds selects for IIO_BUFFER and IIO_TRIGGERED_BUFFER. Without
IIO_BUFFER, the driver does not compile.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
---
drivers/iio/gyro/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/iio/gyro/Kconfig b/drivers/iio/gyro/Kconfig
index b3d0e94f72eb..8d2439345673 100644
--- a/drivers/iio/gyro/Kconfig
+++ b/drivers/iio/gyro/Kconfig
@@ -53,7 +53,8 @@ config ADXRS450
config BMG160
tristate "BOSCH BMG160 Gyro Sensor"
depends on I2C
- select IIO_TRIGGERED_BUFFER if IIO_BUFFER
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
help
Say yes here to build support for Bosch BMG160 Tri-axis Gyro Sensor
driver. This driver also supports BMI055 gyroscope.
--
2.1.4
next prev parent reply other threads:[~2015-07-29 13:47 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-29 13:46 [PATCH 0/7] iio: bmg160: Add SPI connection Markus Pargmann
2015-07-29 13:46 ` Markus Pargmann [this message]
2015-07-31 19:20 ` [PATCH 1/7] iio: bmg160: IIO_BUFFER and IIO_TRIGGERED_BUFFER are required Srinivas Pandruvada
2015-08-02 18:30 ` Jonathan Cameron
2015-07-29 13:46 ` [PATCH 2/7] iio: bmg160: Use i2c regmap instead of direct i2c access Markus Pargmann
2015-07-29 18:37 ` Markus Pargmann
2015-07-30 10:49 ` Paul Bolle
2015-07-30 11:44 ` Markus Pargmann
2015-07-31 19:29 ` Srinivas Pandruvada
2015-08-02 17:33 ` Markus Pargmann
2015-07-29 13:46 ` [PATCH 3/7] iio: bmg160: Remove i2c_client from data struct Markus Pargmann
2015-07-29 13:46 ` [PATCH 4/7] iio: bmg160: Use generic dev_drvdata Markus Pargmann
2015-07-29 13:46 ` [PATCH 5/7] iio: bmg160: Remove remaining uses of i2c_client Markus Pargmann
2015-07-29 13:46 ` [PATCH 6/7] iio: bmg160: Separate i2c and core driver Markus Pargmann
2015-07-29 13:46 ` [PATCH 7/7] iio: bmg160: Add SPI driver Markus Pargmann
2015-08-03 10:07 ` Markus Pargmann
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=1438177569-18772-2-git-send-email-mpa@pengutronix.de \
--to=mpa@pengutronix.de \
--cc=jic23@kernel.org \
--cc=kernel@pengutronix.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=srinivas.pandruvada@linux.intel.com \
--cc=vlad.dogaru@intel.com \
/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;
as well as URLs for NNTP newsgroup(s).