aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2012-12-12 13:13:48 +0100
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2012-12-12 13:14:16 +0100
commitf0c27993e42e801b1bd0c168809ccdbc5e05f9f3 (patch)
tree507520bb7a9e9824a29dcb7908b921c73820d593
parentea40a05422bdc87a7af5dc349e8adce59f982e72 (diff)
downloadu-boot-linaro-stable-f0c27993e42e801b1bd0c168809ccdbc5e05f9f3.tar.gz
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 <daniel.schwierzeck@gmail.com>
-rw-r--r--arch/mips/lib/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/lib/board.c b/arch/mips/lib/board.c
index 7ddd77832..4f330ccf7 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)
{