ARM: msm: Move io mapping prototypes to common.h

Consolidate the handful of iomapping functions into common.h so
that board files don't need to include mach/msm_iomap.h if they
don't need static virtual mapping addresses.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
Esse commit está contido em:
Stephen Boyd
2012-09-05 12:28:57 -07:00
commit de David Brown
commit 85a9f0f576
9 arquivos alterados com 12 adições e 25 exclusões

Ver arquivo

@@ -29,6 +29,8 @@
#include <mach/board.h>
#include "common.h"
#define MSM_CHIP_DEVICE(name, chip) { \
.virtual = (unsigned long) MSM_##name##_BASE, \
.pfn = __phys_to_pfn(chip##_##name##_PHYS), \