mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-08-22 00:42:01 +02:00

Update header inclusions to follow IWYU (Include What You Use) principle. Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20240211201526.1518165-3-andy.shevchenko@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
26 lines
467 B
C
26 lines
467 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
// STMicroelectronics LSM9DS0 IMU driver
|
|
|
|
#ifndef ST_LSM9DS0_H
|
|
#define ST_LSM9DS0_H
|
|
|
|
struct device;
|
|
struct regmap;
|
|
struct regulator;
|
|
|
|
struct iio_dev;
|
|
|
|
struct st_lsm9ds0 {
|
|
struct device *dev;
|
|
const char *name;
|
|
int irq;
|
|
struct iio_dev *accel;
|
|
struct iio_dev *magn;
|
|
struct regulator *vdd;
|
|
struct regulator *vdd_io;
|
|
};
|
|
|
|
int st_lsm9ds0_probe(struct st_lsm9ds0 *lsm9ds0, struct regmap *regmap);
|
|
|
|
#endif /* ST_LSM9DS0_H */
|