Merge 5.0-rc6 into driver-core-next
[linux/fpc-iii.git] / arch / arm / mach-prima2 / common.h
blob6d77b622d168502978369df3613abf0763e0563f
1 /*
2 * This file contains common function prototypes to avoid externs in the c files.
4 * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
6 * Licensed under GPLv2 or later.
7 */
9 #ifndef __MACH_PRIMA2_COMMON_H__
10 #define __MACH_PRIMA2_COMMON_H__
12 #include <linux/init.h>
13 #include <linux/reboot.h>
15 #include <asm/mach/time.h>
16 #include <asm/exception.h>
18 extern const struct smp_operations sirfsoc_smp_ops;
19 extern void sirfsoc_secondary_startup(void);
20 extern void sirfsoc_cpu_die(unsigned int cpu);
22 extern void __init sirfsoc_of_irq_init(void);
23 extern asmlinkage void __exception_irq_entry sirfsoc_handle_irq(struct pt_regs *regs);
25 #ifdef CONFIG_SUSPEND
26 extern int sirfsoc_pm_init(void);
27 #else
28 static inline int sirfsoc_pm_init(void) { return 0; }
29 #endif
31 #endif