Patch "iio: add IIO_TRIGGER dependency to STK8BA50" has been added to the 4.4-stable tree

From: <gregkh@linuxfoundation.org>
Date: 2016-02-24 03:44:18

This is a note to let you know that I've just added the patch titled

    iio: add IIO_TRIGGER dependency to STK8BA50

to the 4.4-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     iio-add-iio_trigger-dependency-to-stk8ba50.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let [off-list ref] know about it.

From 01cc5235604d61018712c11a14d74230f6a38bf4 Mon Sep 17 00:00:00 2001
From: Vegard Nossum <redacted>
Date: Sat, 2 Jan 2016 14:04:39 +0100
Subject: iio: add IIO_TRIGGER dependency to STK8BA50
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

From: Vegard Nossum <redacted>

commit 01cc5235604d61018712c11a14d74230f6a38bf4 upstream.

Ran into this on UML:

drivers/iio/accel/stk8ba50.c: In function ‘stk8ba50_data_rdy_trigger_set_state’:
drivers/iio/accel/stk8ba50.c:163:9: error: implicit declaration of function ‘iio_trigger_get_drvdata’ [-Werror=implicit-function-declaration]

iio_trigger_get_drvdata() is defined only when IIO_TRIGGER is selected.

Signed-off-by: Vegard Nossum <redacted>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/iio/accel/Kconfig |    1 +
 1 file changed, 1 insertion(+)
--- a/drivers/iio/accel/Kconfig
+++ b/drivers/iio/accel/Kconfig
@@ -173,6 +173,7 @@ config STK8312
 config STK8BA50
 	tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
 	depends on I2C
+	depends on IIO_TRIGGER
 	help
 	  Say yes here to get support for the Sensortek STK8BA50 3-axis
 	  accelerometer.

Patches currently in stable-queue which might be from vegard.nossum@oracle.com are

queue-4.4/btrfs-handle-invalid-num_stripes-in-sys_array.patch
queue-4.4/iio-add-iio_trigger-dependency-to-stk8ba50.patch
queue-4.4/udf-limit-the-maximum-number-of-indirect-extents-in-a-row.patch
queue-4.4/iio-add-has_iomem-dependency-to-vf610_adc.patch
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help