mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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:
parent
be135f4089
commit
40f1ce7fb7
7 changed files with 17 additions and 19 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue