blob: 31c0cc4a9e54ec6b83119c33ade12aa5ed3433b5 [file] [log] [blame]
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001/* 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 */
16struct 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