summaryrefslogtreecommitdiff
path: root/include/linux/l3g4200d.h
blob: 28459601e4fced3560841b5db0864f00c8ff4971 (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
25
26
27
/*
 * ST L3G4200D 3-Axis Gyroscope header file
 *
 * Copyright (C) ST-Ericsson SA 2011
 * Author: Chethan Krishna N <chethan.krishna@stericsson.com> for ST-Ericsson
 * Licence terms: GNU General Public Licence (GPL) version 2
 */

#ifndef __L3G4200D_H__
#define __L3G4200D_H__

#ifdef __KERNEL__
struct l3g4200d_gyr_platform_data {
	const char *name_gyr;

	u8 axis_map_x;
	u8 axis_map_y;
	u8 axis_map_z;

	u8 negative_x;
	u8 negative_y;
	u8 negative_z;
};

#endif /* __KERNEL__ */

#endif  /* __L3G4200D_H__ */