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