blob: fbf8adf1363a1860a923cdd815597a8cc4054971 [file] [log] [blame]
Michael Hennerich7c31b982011-02-24 12:32:45 +01001/*
2 * AD7298 SPI ADC driver
3 *
4 * Copyright 2011 Analog Devices Inc.
5 *
6 * Licensed under the GPL-2.
7 */
8
Lars-Peter Clausen709ab362012-11-17 11:42:59 +00009#ifndef __LINUX_PLATFORM_DATA_AD7298_H__
10#define __LINUX_PLATFORM_DATA_AD7298_H__
Michael Hennerich7c31b982011-02-24 12:32:45 +010011
Lars-Peter Clausen2e334602012-11-15 13:15:00 +000012/**
13 * struct ad7298_platform_data - Platform data for the ad7298 ADC driver
14 * @ext_ref: Whether to use an external reference voltage.
15 **/
Michael Hennerich7c31b982011-02-24 12:32:45 +010016struct ad7298_platform_data {
Lars-Peter Clausen2e334602012-11-15 13:15:00 +000017 bool ext_ref;
Michael Hennerich7c31b982011-02-24 12:32:45 +010018};
19
Michael Hennerich7c31b982011-02-24 12:32:45 +010020#endif /* IIO_ADC_AD7298_H_ */