cgroup: superblock can't be released with active dentries
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-spear3xx / include / mach / generic.h
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<viresh.kumar@st.com>
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;
26 extern struct pl022_ssp_controller pl022_plat_data;
27 extern struct pl08x_platform_data pl080_plat_data;
28
29 /* Add spear3xx family function declarations here */
30 void __init spear_setup_timer(resource_size_t base, int irq);
31 void __init spear3xx_map_io(void);
32 void __init spear3xx_dt_init_irq(void);
33
34 void spear_restart(char, const char *);
35
36 /* spear300 declarations */
37 #ifdef CONFIG_MACH_SPEAR300
38 void __init spear300_clk_init(void);
39
40 #endif /* CONFIG_MACH_SPEAR300 */
41
42 /* spear310 declarations */
43 #ifdef CONFIG_MACH_SPEAR310
44 void __init spear310_clk_init(void);
45
46 #endif /* CONFIG_MACH_SPEAR310 */
47
48 /* spear320 declarations */
49 #ifdef CONFIG_MACH_SPEAR320
50 void __init spear320_clk_init(void);
51
52 #endif /* CONFIG_MACH_SPEAR320 */
53
54 #endif /* __MACH_GENERIC_H */