Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/amlogic fix amlogiccom locator name



details:   https://anonhg.NetBSD.org/src/rev/8d8a4f46a889
branches:  trunk
changeset: 806531:8d8a4f46a889
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Fri Feb 27 21:34:40 2015 +0000

description:
fix amlogiccom locator name

diffstat:

 sys/arch/arm/amlogic/amlogic_io.c |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 075e405e1c80 -r 8d8a4f46a889 sys/arch/arm/amlogic/amlogic_io.c
--- a/sys/arch/arm/amlogic/amlogic_io.c Fri Feb 27 21:13:52 2015 +0000
+++ b/sys/arch/arm/amlogic/amlogic_io.c Fri Feb 27 21:34:40 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: amlogic_io.c,v 1.1 2015/02/07 17:20:17 jmcneill Exp $ */
+/* $NetBSD: amlogic_io.c,v 1.2 2015/02/27 21:34:40 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
 #include "opt_amlogic.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amlogic_io.c,v 1.1 2015/02/07 17:20:17 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amlogic_io.c,v 1.2 2015/02/27 21:34:40 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -56,8 +56,10 @@
 static bool amlogicio_found = false;
 
 static const struct amlogic_locators amlogic_locators[] = {
-  { "com", AMLOGIC_UART0AO_OFFSET, AMLOGIC_UART_SIZE, 0, AMLOGIC_INTR_UART0AO },
-  { "com", AMLOGIC_UART2AO_OFFSET, AMLOGIC_UART_SIZE, 2, AMLOGIC_INTR_UART2AO },
+  { "amlogiccom",
+    AMLOGIC_UART0AO_OFFSET, AMLOGIC_UART_SIZE, 0, AMLOGIC_INTR_UART0AO },
+  { "amlogiccom",
+    AMLOGIC_UART2AO_OFFSET, AMLOGIC_UART_SIZE, 2, AMLOGIC_INTR_UART2AO },
 };
 
 int



Home | Main Index | Thread Index | Old Index