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:
@@ -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), \
|
||||
|
Referência em uma nova issue
Block a user