summaryrefslogtreecommitdiff
path: root/sys/arch/octeon
diff options
context:
space:
mode:
authorTakuya ASADA <syuu@cvs.openbsd.org>2011-05-08 13:45:04 +0000
committerTakuya ASADA <syuu@cvs.openbsd.org>2011-05-08 13:45:04 +0000
commit4c0869558fae408b421f3f406b52f2b68ab6ea55 (patch)
tree5e3d08643fc2578fac49928fe7f17124088f2549 /sys/arch/octeon
parentdb2db4b6665ab8b66e5d34e8ee1f7b1a0c3a9007 (diff)
fix variable name
Diffstat (limited to 'sys/arch/octeon')
-rw-r--r--sys/arch/octeon/octeon/machdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/octeon/octeon/machdep.c b/sys/arch/octeon/octeon/machdep.c
index d4756e69bca..64819a9d732 100644
--- a/sys/arch/octeon/octeon/machdep.c
+++ b/sys/arch/octeon/octeon/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.9 2011/05/08 13:39:30 syuu Exp $ */
+/* $OpenBSD: machdep.c,v 1.10 2011/05/08 13:45:03 syuu Exp $ */
/*
* Copyright (c) 2009, 2010 Miodrag Vallat.
@@ -207,7 +207,7 @@ boolean_t is_memory_range(paddr_t, psize_t, psize_t);
void octeon_memory_init(struct boot_info *);
cons_decl(cn30xxuart);
-struct consdev octcons = cons_init(cn30xxuart);
+struct consdev uartcons = cons_init(cn30xxuart);
#define btoc(x) (((x)+PAGE_MASK)>>PAGE_SHIFT)
@@ -356,7 +356,7 @@ mips_init(__register_t a0, __register_t a1, __register_t a2 __unused,
/*
* Set up early console output.
*/
- cn_tab = &octcons;
+ cn_tab = &uartcons;
/*
* Reserve space for the symbol table, if it exists.