summaryrefslogtreecommitdiff
path: root/include/linux/iio/magnetometer/ak8975.h
blob: c8400959d197d4e5f8b8a67c4702fe51b7a71fcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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