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 device; 8 struct regmap; 9 struct regulator; 10 11 struct iio_dev; 12 13 struct 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 23 int st_lsm9ds0_probe(struct st_lsm9ds0 *lsm9ds0, struct regmap *regmap); 24 25 #endif /* ST_LSM9DS0_H */ 26