Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
generic.h
Go to the documentation of this file.
1 /*
2  * arch/arm/mach-spear3xx/generic.h
3  *
4  * SPEAr3XX machine family generic header file
5  *
6  * Copyright (C) 2009 ST Microelectronics
7  * Viresh Kumar<[email protected]>
8  *
9  * This file is licensed under the terms of the GNU General Public
10  * License version 2. This program is licensed "as is" without any
11  * warranty of any kind, whether express or implied.
12  */
13 
14 #ifndef __MACH_GENERIC_H
15 #define __MACH_GENERIC_H
16 
17 #include <linux/amba/pl08x.h>
18 #include <linux/init.h>
19 #include <linux/platform_device.h>
20 #include <linux/amba/bus.h>
21 #include <asm/mach/time.h>
22 #include <asm/mach/map.h>
23 
24 /* Add spear3xx family device structure declarations here */
25 extern struct sys_timer spear3xx_timer;
28 
29 /* Add spear3xx family function declarations here */
30 void __init spear_setup_of_timer(void);
31 void __init spear3xx_clk_init(void);
32 void __init spear3xx_map_io(void);
33 void __init spear3xx_dt_init_irq(void);
34 
35 void spear_restart(char, const char *);
36 
37 #endif /* __MACH_GENERIC_H */