aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c/bmp085.h
blob: 0ce4690eb776172006b0ffd36e20b139eded6c58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __LINUX_I2C_BMP085_H
#define __LINUX_I2C_BMP085_H

/* linux/i2c/bmp085.h */

/* If GPIO is set, it is the End Of Conversion line which
 * is High when conversion is finished.
 * if it is <0, and irq > 0, then it is an interrupt with no
 * GPIO.
 */
struct bmp085_platform_data {
	int	eoc_gpio;
	int	eoc_irq;
};

#endif