diff options
Diffstat (limited to 'drivers/iio/magnetometer/hid-sensor-magn-3d.c')
-rw-r--r-- | drivers/iio/magnetometer/hid-sensor-magn-3d.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iio/magnetometer/hid-sensor-magn-3d.c b/drivers/iio/magnetometer/hid-sensor-magn-3d.c index 7ac2c7483ba8..d8d01265220b 100644 --- a/drivers/iio/magnetometer/hid-sensor-magn-3d.c +++ b/drivers/iio/magnetometer/hid-sensor-magn-3d.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <linux/iio/buffer.h> | 28 | #include <linux/iio/buffer.h> |
29 | #include <linux/iio/trigger_consumer.h> | 29 | #include <linux/iio/trigger_consumer.h> |
30 | #include <linux/iio/triggered_buffer.h> | 30 | #include <linux/iio/triggered_buffer.h> |
31 | #include "../common/hid-sensors/hid-sensor-attributes.h" | ||
32 | #include "../common/hid-sensors/hid-sensor-trigger.h" | 31 | #include "../common/hid-sensors/hid-sensor-trigger.h" |
33 | 32 | ||
34 | /*Format: HID-SENSOR-usage_id_in_hex*/ | 33 | /*Format: HID-SENSOR-usage_id_in_hex*/ |
@@ -44,7 +43,7 @@ enum magn_3d_channel { | |||
44 | 43 | ||
45 | struct magn_3d_state { | 44 | struct magn_3d_state { |
46 | struct hid_sensor_hub_callbacks callbacks; | 45 | struct hid_sensor_hub_callbacks callbacks; |
47 | struct hid_sensor_iio_common common_attributes; | 46 | struct hid_sensor_common common_attributes; |
48 | struct hid_sensor_hub_attribute_info magn[MAGN_3D_CHANNEL_MAX]; | 47 | struct hid_sensor_hub_attribute_info magn[MAGN_3D_CHANNEL_MAX]; |
49 | u32 magn_val[MAGN_3D_CHANNEL_MAX]; | 48 | u32 magn_val[MAGN_3D_CHANNEL_MAX]; |
50 | }; | 49 | }; |