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 
7 struct iio_dev;
8 struct regulator;
9 
10 struct st_lsm9ds0 {
11 	struct device *dev;
12 	const char *name;
13 	int irq;
14 	struct iio_dev *accel;
15 	struct iio_dev *magn;
16 	struct regulator *vdd;
17 	struct regulator *vdd_io;
18 };
19 
20 int st_lsm9ds0_probe(struct st_lsm9ds0 *lsm9ds0, struct regmap *regmap);
21 
22 #endif /* ST_LSM9DS0_H */
23