diff options
Diffstat (limited to 'arch/arm/mach-msm/include/mach/msm_handset.h')
-rw-r--r-- | arch/arm/mach-msm/include/mach/msm_handset.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/include/mach/msm_handset.h b/arch/arm/mach-msm/include/mach/msm_handset.h new file mode 100644 index 000000000000..6947e03b8986 --- /dev/null +++ b/arch/arm/mach-msm/include/mach/msm_handset.h @@ -0,0 +1,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 |