ad7298.h 410 B

1234567891011121314151617181920
  1. /*
  2. * AD7298 SPI ADC driver
  3. *
  4. * Copyright 2011 Analog Devices Inc.
  5. *
  6. * Licensed under the GPL-2.
  7. */
  8. #ifndef __LINUX_PLATFORM_DATA_AD7298_H__
  9. #define __LINUX_PLATFORM_DATA_AD7298_H__
  10. /**
  11. * struct ad7298_platform_data - Platform data for the ad7298 ADC driver
  12. * @ext_ref: Whether to use an external reference voltage.
  13. **/
  14. struct ad7298_platform_data {
  15. bool ext_ref;
  16. };
  17. #endif /* IIO_ADC_AD7298_H_ */