Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
97eacb91 GB |
2 | #ifndef __IIO_MAGNETOMETER_AK8975_H__ |
3 | #define __IIO_MAGNETOMETER_AK8975_H__ | |
4 | ||
5 | #include <linux/iio/iio.h> | |
6 | ||
7 | /** | |
8 | * struct ak8975_platform_data - AK8975 magnetometer driver platform data | |
9 | * @eoc_gpio: data ready event gpio | |
10 | * @orientation: mounting matrix relative to main hardware | |
11 | */ | |
12 | struct ak8975_platform_data { | |
13 | int eoc_gpio; | |
14 | struct iio_mount_matrix orientation; | |
15 | }; | |
16 | ||
17 | #endif |