brintos

brintos / linux-shallow public Read only

0
0
Text · 467 B · e67d31b Raw
26 lines · c
1/* SPDX-License-Identifier: GPL-2.0-only */2// STMicroelectronics LSM9DS0 IMU driver3 4#ifndef ST_LSM9DS0_H5#define ST_LSM9DS0_H6 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