mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 12:14:01 +08:00
6bb27d7349
Now that the only field in struct sys_timer is .init, delete the struct, and replace the machine descriptor .timer field with the initialization function itself. This will enable moving timer drivers into drivers/clocksource without having to place a public prototype of each struct sys_timer object into include/linux; the intent is to create a single of_clocksource_init() function that determines which timer driver to initialize by scanning the device dtree, much like the proposed irqchip_init() at: http://www.spinics.net/lists/arm-kernel/msg203686.html Includes mach-omap2 fixes from Igor Grinberg. Tested-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Stephen Warren <swarren@nvidia.com>
33 lines
1.1 KiB
C
33 lines
1.1 KiB
C
/* 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
|
|
|
|
extern void msm7x01_timer_init(void);
|
|
extern void msm7x30_timer_init(void);
|
|
extern void msm_dt_timer_init(void);
|
|
extern void qsd8x50_timer_init(void);
|
|
|
|
extern void msm_map_common_io(void);
|
|
extern void msm_map_msm7x30_io(void);
|
|
extern void msm_map_msm8x60_io(void);
|
|
extern void msm_map_msm8960_io(void);
|
|
extern void msm_map_qsd8x50_io(void);
|
|
|
|
extern void __iomem *__msm_ioremap_caller(unsigned long phys_addr, size_t size,
|
|
unsigned int mtype, void *caller);
|
|
|
|
extern struct smp_operations msm_smp_ops;
|
|
extern void msm_cpu_die(unsigned int cpu);
|
|
|
|
#endif
|