[ARM] Remove MT_NONSHARED_DEVICE alias
Use MT_DEVICE_NONSHARED instead. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
db5b716947
commit
9b727abdff
|
@ -26,8 +26,6 @@ struct map_desc {
|
||||||
#define MT_MEMORY 8
|
#define MT_MEMORY 8
|
||||||
#define MT_ROM 9
|
#define MT_ROM 9
|
||||||
|
|
||||||
#define MT_NONSHARED_DEVICE MT_DEVICE_NONSHARED
|
|
||||||
|
|
||||||
#ifdef CONFIG_MMU
|
#ifdef CONFIG_MMU
|
||||||
extern void iotable_init(struct map_desc *, int);
|
extern void iotable_init(struct map_desc *, int);
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -49,7 +49,7 @@ static struct map_desc mxc_io_desc[] __initdata = {
|
||||||
.virtual = AVIC_BASE_ADDR_VIRT,
|
.virtual = AVIC_BASE_ADDR_VIRT,
|
||||||
.pfn = __phys_to_pfn(AVIC_BASE_ADDR),
|
.pfn = __phys_to_pfn(AVIC_BASE_ADDR),
|
||||||
.length = AVIC_SIZE,
|
.length = AVIC_SIZE,
|
||||||
.type = MT_NONSHARED_DEVICE
|
.type = MT_DEVICE_NONSHARED
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -92,17 +92,17 @@ static struct map_desc mx31ads_io_desc[] __initdata = {
|
||||||
.virtual = AIPS1_BASE_ADDR_VIRT,
|
.virtual = AIPS1_BASE_ADDR_VIRT,
|
||||||
.pfn = __phys_to_pfn(AIPS1_BASE_ADDR),
|
.pfn = __phys_to_pfn(AIPS1_BASE_ADDR),
|
||||||
.length = AIPS1_SIZE,
|
.length = AIPS1_SIZE,
|
||||||
.type = MT_NONSHARED_DEVICE
|
.type = MT_DEVICE_NONSHARED
|
||||||
}, {
|
}, {
|
||||||
.virtual = SPBA0_BASE_ADDR_VIRT,
|
.virtual = SPBA0_BASE_ADDR_VIRT,
|
||||||
.pfn = __phys_to_pfn(SPBA0_BASE_ADDR),
|
.pfn = __phys_to_pfn(SPBA0_BASE_ADDR),
|
||||||
.length = SPBA0_SIZE,
|
.length = SPBA0_SIZE,
|
||||||
.type = MT_NONSHARED_DEVICE
|
.type = MT_DEVICE_NONSHARED
|
||||||
}, {
|
}, {
|
||||||
.virtual = AIPS2_BASE_ADDR_VIRT,
|
.virtual = AIPS2_BASE_ADDR_VIRT,
|
||||||
.pfn = __phys_to_pfn(AIPS2_BASE_ADDR),
|
.pfn = __phys_to_pfn(AIPS2_BASE_ADDR),
|
||||||
.length = AIPS2_SIZE,
|
.length = AIPS2_SIZE,
|
||||||
.type = MT_NONSHARED_DEVICE
|
.type = MT_DEVICE_NONSHARED
|
||||||
}, {
|
}, {
|
||||||
.virtual = CS4_BASE_ADDR_VIRT,
|
.virtual = CS4_BASE_ADDR_VIRT,
|
||||||
.pfn = __phys_to_pfn(CS4_BASE_ADDR),
|
.pfn = __phys_to_pfn(CS4_BASE_ADDR),
|
||||||
|
|
|
@ -45,17 +45,17 @@ static struct map_desc mx31lite_io_desc[] __initdata = {
|
||||||
.virtual = AIPS1_BASE_ADDR_VIRT,
|
.virtual = AIPS1_BASE_ADDR_VIRT,
|
||||||
.pfn = __phys_to_pfn(AIPS1_BASE_ADDR),
|
.pfn = __phys_to_pfn(AIPS1_BASE_ADDR),
|
||||||
.length = AIPS1_SIZE,
|
.length = AIPS1_SIZE,
|
||||||
.type = MT_NONSHARED_DEVICE
|
.type = MT_DEVICE_NONSHARED
|
||||||
}, {
|
}, {
|
||||||
.virtual = SPBA0_BASE_ADDR_VIRT,
|
.virtual = SPBA0_BASE_ADDR_VIRT,
|
||||||
.pfn = __phys_to_pfn(SPBA0_BASE_ADDR),
|
.pfn = __phys_to_pfn(SPBA0_BASE_ADDR),
|
||||||
.length = SPBA0_SIZE,
|
.length = SPBA0_SIZE,
|
||||||
.type = MT_NONSHARED_DEVICE
|
.type = MT_DEVICE_NONSHARED
|
||||||
}, {
|
}, {
|
||||||
.virtual = AIPS2_BASE_ADDR_VIRT,
|
.virtual = AIPS2_BASE_ADDR_VIRT,
|
||||||
.pfn = __phys_to_pfn(AIPS2_BASE_ADDR),
|
.pfn = __phys_to_pfn(AIPS2_BASE_ADDR),
|
||||||
.length = AIPS2_SIZE,
|
.length = AIPS2_SIZE,
|
||||||
.type = MT_NONSHARED_DEVICE
|
.type = MT_DEVICE_NONSHARED
|
||||||
}, {
|
}, {
|
||||||
.virtual = CS4_BASE_ADDR_VIRT,
|
.virtual = CS4_BASE_ADDR_VIRT,
|
||||||
.pfn = __phys_to_pfn(CS4_BASE_ADDR),
|
.pfn = __phys_to_pfn(CS4_BASE_ADDR),
|
||||||
|
|
Loading…
Reference in New Issue