Michael Hennerich | 7c31b98 | 2011-02-24 12:32:45 +0100 | [diff] [blame] | 1 | /* |
| 2 | * AD7298 SPI ADC driver |
| 3 | * |
| 4 | * Copyright 2011 Analog Devices Inc. |
| 5 | * |
| 6 | * Licensed under the GPL-2. |
| 7 | */ |
| 8 | |
Lars-Peter Clausen | 709ab36 | 2012-11-17 11:42:59 +0000 | [diff] [blame] | 9 | #ifndef __LINUX_PLATFORM_DATA_AD7298_H__ |
| 10 | #define __LINUX_PLATFORM_DATA_AD7298_H__ |
Michael Hennerich | 7c31b98 | 2011-02-24 12:32:45 +0100 | [diff] [blame] | 11 | |
Lars-Peter Clausen | 2e33460 | 2012-11-15 13:15:00 +0000 | [diff] [blame] | 12 | /** |
| 13 | * struct ad7298_platform_data - Platform data for the ad7298 ADC driver |
| 14 | * @ext_ref: Whether to use an external reference voltage. |
| 15 | **/ |
Michael Hennerich | 7c31b98 | 2011-02-24 12:32:45 +0100 | [diff] [blame] | 16 | struct ad7298_platform_data { |
Lars-Peter Clausen | 2e33460 | 2012-11-15 13:15:00 +0000 | [diff] [blame] | 17 | bool ext_ref; |
Michael Hennerich | 7c31b98 | 2011-02-24 12:32:45 +0100 | [diff] [blame] | 18 | }; |
| 19 | |
Michael Hennerich | 7c31b98 | 2011-02-24 12:32:45 +0100 | [diff] [blame] | 20 | #endif /* IIO_ADC_AD7298_H_ */ |