]> git.ipfire.org Git - thirdparty/kernel/linux.git/blob - include/linux/iio/magnetometer/ak8975.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/kernel/linux.git] / include / linux / iio / magnetometer / ak8975.h
1 /* SPDX-License-Identifier: GPL-2.0 */
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