Skip to content

iio:st_sensors more fixes when !IIO_CONFIG_TRIGGER

Jonathan Cameron linux-iio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 1 replyIn review

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] iio:st_sensors more fixes when !IIO_CONFIG_TRIGGER

Here is how I would suggest dealing with the issues pointed out by Randy when buildling without trigger support.

Jonathan

Jonathan Cameron (2):
iio:triggers Protect functions in triggers.h from use when not
compiled
iio:st_sensors fix build when !CONFIG_IIO_TRIGGER

 drivers/iio/accel/st_accel_core.c       | 9 +++++++--
 drivers/iio/accel/st_accel_i2c.c        | 1 -
 drivers/iio/accel/st_accel_spi.c        | 1 -
 drivers/iio/gyro/st_gyro_core.c         | 9 +++++++--
 drivers/iio/gyro/st_gyro_i2c.c          | 1 -
 drivers/iio/gyro/st_gyro_spi.c          | 1 -
 drivers/iio/magnetometer/st_magn_core.c | 1 -
 drivers/iio/magnetometer/st_magn_i2c.c  | 1 -
 drivers/iio/magnetometer/st_magn_spi.c  | 1 -
 include/linux/iio/trigger.h             | 5 +++++
 10 files changed, 19 insertions(+), 11 deletions(-)
Signature · 1 line
1.8.1.1