blob: 544e1d8bab5ef500e902d33ae5e685d296f51bd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/*
* Copyright (C) 2009-2010 ST-Ericsson AB
* License terms: GNU General Public License (GPL) version 2
* Header file for 1 pin gpio sensors;
* Author: Jonas Aaberg <jonas.aberg@stericsson.com>
*
*/
#ifndef __ASM_ARCH_SFH7741_H
#define __ASM_ARCH_SFH7741_H
struct sensor_config {
int pin;
int startup_time; /* in ms */
char regulator[32];
};
struct sensors1p_config {
struct sensor_config hal;
struct sensor_config proximity;
};
#endif
|