.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * STMicroelectronics gyroscopes driver |
---|
3 | 4 | * |
---|
.. | .. |
---|
5 | 6 | * |
---|
6 | 7 | * Denis Ciocca <denis.ciocca@st.com> |
---|
7 | 8 | * v. 1.0.0 |
---|
8 | | - * Licensed under the GPL-2. |
---|
9 | 9 | */ |
---|
10 | 10 | |
---|
11 | 11 | #ifndef ST_GYRO_H |
---|
.. | .. |
---|
28 | 28 | * struct st_sensors_platform_data - gyro platform data |
---|
29 | 29 | * @drdy_int_pin: DRDY on gyros is available only on INT2 pin. |
---|
30 | 30 | */ |
---|
31 | | -static const struct st_sensors_platform_data gyro_pdata = { |
---|
| 31 | +static __maybe_unused const struct st_sensors_platform_data gyro_pdata = { |
---|
32 | 32 | .drdy_int_pin = 2, |
---|
33 | 33 | }; |
---|
34 | 34 | |
---|
| 35 | +const struct st_sensor_settings *st_gyro_get_settings(const char *name); |
---|
35 | 36 | int st_gyro_common_probe(struct iio_dev *indio_dev); |
---|
36 | 37 | void st_gyro_common_remove(struct iio_dev *indio_dev); |
---|
37 | 38 | |
---|