1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __IIO_MAGNETOMETER_AK8975_H__
3 #define __IIO_MAGNETOMETER_AK8975_H__
5 #include <linux/iio/iio.h>
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
12 struct ak8975_platform_data
{
14 struct iio_mount_matrix orientation
;