]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - include/linux/iio/magnetometer/ak8975.h
Input: wm97xx: add new AC97 bus support
[mirror_ubuntu-focal-kernel.git] / include / linux / iio / magnetometer / ak8975.h
1 #ifndef __IIO_MAGNETOMETER_AK8975_H__
2 #define __IIO_MAGNETOMETER_AK8975_H__
3
4 #include <linux/iio/iio.h>
5
6 /**
7 * struct ak8975_platform_data - AK8975 magnetometer driver platform data
8 * @eoc_gpio: data ready event gpio
9 * @orientation: mounting matrix relative to main hardware
10 */
11 struct ak8975_platform_data {
12 int eoc_gpio;
13 struct iio_mount_matrix orientation;
14 };
15
16 #endif