From: Daniel Schwierzeck Date: Wed, 12 Dec 2012 12:13:48 +0000 (+0100) Subject: MIPS: constify mips_io_port_base X-Git-Tag: v2013.01-rc2~29^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f0c27993e42e801b1bd0c168809ccdbc5e05f9f3;p=u-boot MIPS: constify mips_io_port_base mips_io_port_base is exported as 'extern const unsigned long mips_io_port_base;' in arch/mips/include/asm/io.h. Thus make the variable const too. Signed-off-by: Daniel Schwierzeck --- diff --git a/arch/mips/lib/board.c b/arch/mips/lib/board.c index 7ddd77832c..4f330ccf7d 100644 --- a/arch/mips/lib/board.c +++ b/arch/mips/lib/board.c @@ -46,7 +46,7 @@ static char *failed = "*** failed ***\n"; * mips_io_port_base is the begin of the address space to which x86 style * I/O ports are mapped. */ -unsigned long mips_io_port_base = -1; +const unsigned long mips_io_port_base = -1; int __board_early_init_f(void) {