Merge branch 'for-linus' of git://git.kernel.dk/linux-block
[pandora-kernel.git] / drivers / staging / ste_rmi4 / synaptics_i2c_rmi4.h
1 /**
2  *
3  * Synaptics Register Mapped Interface (RMI4) I2C Physical Layer Driver.
4  * Copyright (c) 2007-2010, Synaptics Incorporated
5  *
6  * Author: Js HA <js.ha@stericsson.com> for ST-Ericsson
7  * Author: Naveen Kumar G <naveen.gaddipati@stericsson.com> for ST-Ericsson
8  * Copyright 2010 (c) ST-Ericsson AB
9  */
10 /*
11  * This file is licensed under the GPL2 license.
12  *
13  *#############################################################################
14  * GPL
15  *
16  * This program is free software; you can redistribute it and/or modify it
17  * under the terms of the GNU General Public License version 2 as published
18  * by the Free Software Foundation.
19  *
20  * This program is distributed in the hope that it will be useful, but
21  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
22  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
23  * for more details.
24  *
25  *#############################################################################
26  */
27
28 #ifndef _SYNAPTICS_RMI4_H_INCLUDED_
29 #define _SYNAPTICS_RMI4_H_INCLUDED_
30
31 /**
32  * struct synaptics_rmi4_platform_data - contains the rmi4 platform data
33  * @irq_number: irq number
34  * @irq_type: irq type
35  * @x flip: x flip flag
36  * @y flip: y flip flag
37  *
38  * This structure gives platform data for rmi4.
39  */
40 struct synaptics_rmi4_platform_data {
41         int irq_number;
42         int irq_type;
43         bool x_flip;
44         bool y_flip;
45 };
46
47 #endif