blob: 83e5d2128118487d77a8c1215e1b4ee792a1645f [file] [log] [blame]
Binghua Duan02c981c2011-07-08 17:40:12 +08001/*
2 * This file contains common function prototypes to avoid externs in the c files.
3 *
4 * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
5 *
6 * Licensed under GPLv2 or later.
7 */
8
9#ifndef __MACH_PRIMA2_COMMON_H__
10#define __MACH_PRIMA2_COMMON_H__
11
12#include <linux/init.h>
13#include <asm/mach/time.h>
14
15extern struct sys_timer sirfsoc_timer;
16
17extern void __init sirfsoc_of_irq_init(void);
18extern void __init sirfsoc_of_clk_init(void);
19
Barry Song31adb062011-07-08 02:40:13 -070020#ifndef CONFIG_DEBUG_LL
21static inline void sirfsoc_map_lluart(void) {}
22#else
23extern void __init sirfsoc_map_lluart(void);
24#endif
25
Binghua Duan02c981c2011-07-08 17:40:12 +080026#endif