clocksource: make CLOCKSOURCE_OF_DECLARE type safe
[cascardo/linux.git] / arch / arm / mach-prima2 / include / mach / map.h
1 /*
2  * memory & I/O static mapping definitions for CSR SiRFprimaII
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_MAP_H__
10 #define __MACH_PRIMA2_MAP_H__
11
12 #include <linux/const.h>
13
14 #define SIRFSOC_VA_BASE         _AC(0xFEC00000, UL)
15
16 #define SIRFSOC_VA(x)           (SIRFSOC_VA_BASE + ((x) & 0x00FFF000))
17
18 #endif