summaryrefslogtreecommitdiff
path: root/arch/arm/mach-msm/include/mach/msm_handset.h
blob: 6947e03b8986d43eae25c58a77eb712e6c9bd06b (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
28
29
30
31
32
33
34
/* arch/arm/mach-msm/include/mach/msm_handset.h
 *
 * Copyright (c) 2008-2009, Code Aurora Forum. All rights reserved.
 *
 * This software is licensed under the terms of the GNU General Public
 * License version 2, as published by the Free Software Foundation, and
 * may be copied, distributed, and modified under those terms.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */

#ifndef _MSM_HANDSET_H
#define _MSM_HANDSET_H

#include <linux/input.h>

#if defined(CONFIG_INPUT_MSM_HANDSET)
struct input_dev *msm_get_handset_input_dev(void);
#else
struct input_dev *msm_get_handset_input_dev(void)
{
	return NULL;
}
#endif

struct msm_handset {
	struct input_dev *ip_dev;
};

#endif