Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2010, Code Aurora Forum. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | * |
| 12 | */ |
| 13 | #ifndef __KP_FLIP_SWITCH_H_ |
| 14 | #define __KP_FLIP_SWITCH_H_ |
| 15 | /* flip switch driver platform data */ |
| 16 | struct flip_switch_pdata { |
| 17 | int flip_gpio; |
| 18 | int left_key; |
| 19 | int right_key; |
| 20 | int wakeup; |
| 21 | int active_low; |
| 22 | int (*flip_mpp_config) (void); |
| 23 | char name[25]; |
| 24 | }; |
| 25 | #endif |