#ifndef ST_GYRO_H
#define ST_GYRO_H
#include <linux/types.h>
#include <linux/iio/common/st_sensors.h>
#define L3G4200D_GYRO_DEV_NAME …
#define LSM330D_GYRO_DEV_NAME …
#define LSM330DL_GYRO_DEV_NAME …
#define LSM330DLC_GYRO_DEV_NAME …
#define L3GD20_GYRO_DEV_NAME …
#define L3GD20H_GYRO_DEV_NAME …
#define L3G4IS_GYRO_DEV_NAME …
#define LSM330_GYRO_DEV_NAME …
#define LSM9DS0_GYRO_DEV_NAME …
#ifdef CONFIG_IIO_BUFFER
int st_gyro_allocate_ring(struct iio_dev *indio_dev);
int st_gyro_trig_set_state(struct iio_trigger *trig, bool state);
#define ST_GYRO_TRIGGER_SET_STATE …
#else
static inline int st_gyro_allocate_ring(struct iio_dev *indio_dev)
{
return 0;
}
#define ST_GYRO_TRIGGER_SET_STATE …
#endif
#endif