[MIPS] Fix iounmap argument to const volatile.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 19 Oct 2006 13:21:47 +0000 (14:21 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 19 Oct 2006 16:55:14 +0000 (17:55 +0100)
commitd89e36d8df547fde2beaea82211954868da2282d
tree43955607f4db78e5ddb0d6f84bac5121a8eae944
parentd2bcf87d0fcdc10d1be65b03fd032bec05efe49f
[MIPS] Fix iounmap argument to const volatile.

With the existing prototype the following code:

    const void __iomem *io = ioremap();
    x = readb(io);
    iounmap(io);

did result in a warning.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/ioremap.c
include/asm-mips/io.h