powerpc: Remove ioremap_flags
We have a confusing number of ioremap functions. Make things just a bit simpler by merging ioremap_flags and ioremap_prot. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
committed by
Benjamin Herrenschmidt
parent
be135f4089
commit
40f1ce7fb7
@ -216,7 +216,7 @@ static int axon_ram_probe(struct platform_device *device)
|
||||
AXON_RAM_DEVICE_NAME, axon_ram_bank_id, bank->size >> 20);
|
||||
|
||||
bank->ph_addr = resource.start;
|
||||
bank->io_addr = (unsigned long) ioremap_flags(
|
||||
bank->io_addr = (unsigned long) ioremap_prot(
|
||||
bank->ph_addr, bank->size, _PAGE_NO_CACHE);
|
||||
if (bank->io_addr == 0) {
|
||||
dev_err(&device->dev, "ioremap() failed\n");
|
||||
|
Reference in New Issue
Block a user