[POWERPC] Use const qualifiers for prom parsing utilites
commitb5a1a9abe1a54ba40a9612001920f98bbdd0c56f
authorJeremy Kerr <jk@ozlabs.org>
Tue, 4 Jul 2006 06:46:44 +0000 (4 16:46 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 7 Jul 2006 10:19:16 +0000 (7 20:19 +1000)
treee0ed5a874d08e753b9643120cc68900c31c95cbe
parent980ffd3258dbcdb011e929de5d658ec81febba8d
[POWERPC] Use const qualifiers for prom parsing utilites

The of_bus callbacks map and get_flags can be constified, as they don't
alter the range or addr arguments. of_dump_addr and of_read_addr can
also be constified.

Built for 32- and 64-bit powerpc

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom_parse.c
include/asm-powerpc/prom.h