st_sensors_spi.h 446 B

1234567891011121314151617181920
  1. /*
  2. * STMicroelectronics sensors spi library driver
  3. *
  4. * Copyright 2012-2013 STMicroelectronics Inc.
  5. *
  6. * Denis Ciocca <denis.ciocca@st.com>
  7. *
  8. * Licensed under the GPL-2.
  9. */
  10. #ifndef ST_SENSORS_SPI_H
  11. #define ST_SENSORS_SPI_H
  12. #include <linux/spi/spi.h>
  13. #include <linux/iio/common/st_sensors.h>
  14. void st_sensors_spi_configure(struct iio_dev *indio_dev,
  15. struct spi_device *spi, struct st_sensor_data *sdata);
  16. #endif /* ST_SENSORS_SPI_H */