ak8975.h 399 B

12345678910111213141516
  1. #ifndef __IIO_MAGNETOMETER_AK8975_H__
  2. #define __IIO_MAGNETOMETER_AK8975_H__
  3. #include <linux/iio/iio.h>
  4. /**
  5. * struct ak8975_platform_data - AK8975 magnetometer driver platform data
  6. * @eoc_gpio: data ready event gpio
  7. * @orientation: mounting matrix relative to main hardware
  8. */
  9. struct ak8975_platform_data {
  10. int eoc_gpio;
  11. struct iio_mount_matrix orientation;
  12. };
  13. #endif