summaryrefslogtreecommitdiff
path: root/drivers/iio/imu/st_lsm9ds0/st_lsm9ds0.h
diff options
context:
space:
mode:
authorandy.shevchenko@gmail.com <andy.shevchenko@gmail.com>2024-02-11 23:14:33 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-02-19 22:32:22 +0300
commit07d6a5a4820972a11ee1d34b7fe95ddc58a4a473 (patch)
tree4a7df9075b968c34d46da8a0f8b876d47eca2d94 /drivers/iio/imu/st_lsm9ds0/st_lsm9ds0.h
parentac73e222e37d1fa158c19adeb7bf037782c4c99d (diff)
downloadlinux-07d6a5a4820972a11ee1d34b7fe95ddc58a4a473.tar.xz
iio: st_sensors: lsm9ds0: Don't use "proxy" headers
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>
Diffstat (limited to 'drivers/iio/imu/st_lsm9ds0/st_lsm9ds0.h')
-rw-r--r--drivers/iio/imu/st_lsm9ds0/st_lsm9ds0.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/iio/imu/st_lsm9ds0/st_lsm9ds0.h b/drivers/iio/imu/st_lsm9ds0/st_lsm9ds0.h
index 76678cdefb07..e67d31b48441 100644
--- a/drivers/iio/imu/st_lsm9ds0/st_lsm9ds0.h
+++ b/drivers/iio/imu/st_lsm9ds0/st_lsm9ds0.h
@@ -4,9 +4,12 @@
#ifndef ST_LSM9DS0_H
#define ST_LSM9DS0_H
-struct iio_dev;
+struct device;
+struct regmap;
struct regulator;
+struct iio_dev;
+
struct st_lsm9ds0 {
struct device *dev;
const char *name;