Merge branch 'next' of git://git.infradead.org/users/pcmoore/selinux into next
[deliverable/linux.git] / arch / arm / mach-msm / common.h
CommitLineData
4312a7ef
SB
1/* Copyright (c) 2012, The Linux Foundation. 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#ifndef __MACH_COMMON_H
13#define __MACH_COMMON_H
14
6bb27d73
SW
15extern void msm7x01_timer_init(void);
16extern void msm7x30_timer_init(void);
6bb27d73 17extern void qsd8x50_timer_init(void);
4312a7ef 18
85a9f0f5
SB
19extern void msm_map_common_io(void);
20extern void msm_map_msm7x30_io(void);
85a9f0f5
SB
21extern void msm_map_qsd8x50_io(void);
22
9b97173e 23extern void __iomem *__msm_ioremap_caller(phys_addr_t phys_addr, size_t size,
85a9f0f5
SB
24 unsigned int mtype, void *caller);
25
ebea60be
SB
26struct msm_mmc_platform_data;
27
28extern void msm_add_devices(void);
29extern void msm_init_irq(void);
30extern void msm_init_gpio(void);
31extern int msm_add_sdcc(unsigned int controller,
32 struct msm_mmc_platform_data *plat,
33 unsigned int stat_irq, unsigned long stat_irq_flags);
34
35#if defined(CONFIG_MSM_SMD) && defined(CONFIG_DEBUG_FS)
36extern int smd_debugfs_init(void);
37#else
38static inline int smd_debugfs_init(void) { return 0; }
39#endif
40
4312a7ef 41#endif
This page took 0.099381 seconds and 5 git commands to generate.