kernel_samsung_a34x-permissive/include/linux/iio/magnetometer/ak8975.h
2024-04-28 15:51:13 +02:00

18 lines
438 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __IIO_MAGNETOMETER_AK8975_H__
#define __IIO_MAGNETOMETER_AK8975_H__
#include <linux/iio/iio.h>
/**
* struct ak8975_platform_data - AK8975 magnetometer driver platform data
* @eoc_gpio: data ready event gpio
* @orientation: mounting matrix relative to main hardware
*/
struct ak8975_platform_data {
int eoc_gpio;
struct iio_mount_matrix orientation;
};
#endif