1/* SPDX-License-Identifier: GPL-2.0-only */
2// STMicroelectronics LSM9DS0 IMU driver
3
4#ifndef ST_LSM9DS0_H
5#define ST_LSM9DS0_H
6
7struct device;
8struct regmap;
9struct regulator;
10
11struct iio_dev;
12
13struct st_lsm9ds0 {
14 struct device *dev;
15 const char *name;
16 int irq;
17 struct iio_dev *accel;
18 struct iio_dev *magn;
19 struct regulator *vdd;
20 struct regulator *vdd_io;
21};
22
23int st_lsm9ds0_probe(struct st_lsm9ds0 *lsm9ds0, struct regmap *regmap);
24
25#endif /* ST_LSM9DS0_H */
26

source code of linux/drivers/iio/imu/st_lsm9ds0/st_lsm9ds0.h