OSDN Git Service

treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177
[uclinux-h8/linux.git] / include / linux / platform_data / ad7298.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * AD7298 SPI ADC driver
4  *
5  * Copyright 2011 Analog Devices Inc.
6  */
7
8 #ifndef __LINUX_PLATFORM_DATA_AD7298_H__
9 #define __LINUX_PLATFORM_DATA_AD7298_H__
10
11 /**
12  * struct ad7298_platform_data - Platform data for the ad7298 ADC driver
13  * @ext_ref: Whether to use an external reference voltage.
14  **/
15 struct ad7298_platform_data {
16         bool ext_ref;
17 };
18
19 #endif /* IIO_ADC_AD7298_H_ */