aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/include/mach/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mxs/include/mach/common.h')
-rw-r--r--arch/arm/mach-mxs/include/mach/common.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/arm/mach-mxs/include/mach/common.h b/arch/arm/mach-mxs/include/mach/common.h
index 8d88399b73ef..de6c7ba42544 100644
--- a/arch/arm/mach-mxs/include/mach/common.h
+++ b/arch/arm/mach-mxs/include/mach/common.h
@@ -11,28 +11,27 @@
11#ifndef __MACH_MXS_COMMON_H__ 11#ifndef __MACH_MXS_COMMON_H__
12#define __MACH_MXS_COMMON_H__ 12#define __MACH_MXS_COMMON_H__
13 13
14struct clk;
15
16extern const u32 *mxs_get_ocotp(void); 14extern const u32 *mxs_get_ocotp(void);
17extern int mxs_reset_block(void __iomem *); 15extern int mxs_reset_block(void __iomem *);
18extern void mxs_timer_init(struct clk *, int); 16extern void mxs_timer_init(int);
19extern void mxs_restart(char, const char *); 17extern void mxs_restart(char, const char *);
20extern int mxs_saif_clkmux_select(unsigned int clkmux); 18extern int mxs_saif_clkmux_select(unsigned int clkmux);
21 19
22extern void mx23_soc_init(void); 20extern void mx23_soc_init(void);
23extern int mx23_register_gpios(void);
24extern int mx23_clocks_init(void); 21extern int mx23_clocks_init(void);
25extern void mx23_map_io(void); 22extern void mx23_map_io(void);
26extern void mx23_init_irq(void); 23extern void mx23_init_irq(void);
27 24
28extern void mx28_soc_init(void); 25extern void mx28_soc_init(void);
29extern int mx28_register_gpios(void);
30extern int mx28_clocks_init(void); 26extern int mx28_clocks_init(void);
31extern void mx28_map_io(void); 27extern void mx28_map_io(void);
32extern void mx28_init_irq(void); 28extern void mx28_init_irq(void);
33 29
34extern void icoll_init_irq(void); 30extern void icoll_init_irq(void);
35 31
36extern int mxs_clkctrl_timeout(unsigned int reg_offset, unsigned int mask); 32extern struct platform_device *mxs_add_dma(const char *devid,
33 resource_size_t base);
34extern struct platform_device *mxs_add_gpio(char *name, int id,
35 resource_size_t iobase, int irq);
37 36
38#endif /* __MACH_MXS_COMMON_H__ */ 37#endif /* __MACH_MXS_COMMON_H__ */