2012-09-05 12:28:52 -07:00
/* Copyright (c) 2012, The Linux Foundation. All rights reserved.
*
* This program is free software ; you can redistribute it and / or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation .
*
* 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 __MACH_COMMON_H
# define __MACH_COMMON_H
2012-11-08 12:40:59 -07:00
extern void msm7x01_timer_init ( void ) ;
extern void msm7x30_timer_init ( void ) ;
extern void qsd8x50_timer_init ( void ) ;
2012-09-05 12:28:52 -07:00
2012-09-05 12:28:57 -07:00
extern void msm_map_common_io ( void ) ;
extern void msm_map_msm7x30_io ( void ) ;
extern void msm_map_qsd8x50_io ( void ) ;
2013-05-16 19:40:22 +01:00
extern void __iomem * __msm_ioremap_caller ( phys_addr_t phys_addr , size_t size ,
2012-09-05 12:28:57 -07:00
unsigned int mtype , void * caller ) ;
2012-09-12 16:01:40 -07:00
extern struct smp_operations msm_smp_ops ;
extern void msm_cpu_die ( unsigned int cpu ) ;
2012-09-05 12:28:57 -07:00
2013-07-24 13:54:31 -07:00
struct msm_mmc_platform_data ;
extern void msm_add_devices ( void ) ;
extern void msm_init_irq ( void ) ;
extern void msm_init_gpio ( void ) ;
extern int msm_add_sdcc ( unsigned int controller ,
struct msm_mmc_platform_data * plat ,
unsigned int stat_irq , unsigned long stat_irq_flags ) ;
# if defined(CONFIG_MSM_SMD) && defined(CONFIG_DEBUG_FS)
extern int smd_debugfs_init ( void ) ;
# else
static inline int smd_debugfs_init ( void ) { return 0 ; }
# endif
2012-09-05 12:28:52 -07:00
# endif