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