Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb ohci(4): Constify a constant debug string table.



details:   https://anonhg.NetBSD.org/src/rev/e1862432ca76
branches:  trunk
changeset: 983965:e1862432ca76
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Tue Jun 15 23:39:43 2021 +0000

description:
ohci(4): Constify a constant debug string table.

diffstat:

 sys/dev/usb/ohci.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 184e90a338c4 -r e1862432ca76 sys/dev/usb/ohci.c
--- a/sys/dev/usb/ohci.c        Tue Jun 15 23:24:57 2021 +0000
+++ b/sys/dev/usb/ohci.c        Tue Jun 15 23:39:43 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ohci.c,v 1.315 2021/01/05 18:00:21 skrll Exp $ */
+/*     $NetBSD: ohci.c,v 1.316 2021/06/15 23:39:43 riastradh Exp $     */
 
 /*
  * Copyright (c) 1998, 2004, 2005, 2012, 2016, 2020 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.315 2021/01/05 18:00:21 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.316 2021/06/15 23:39:43 riastradh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -1403,7 +1403,7 @@
 }
 
 #ifdef OHCI_DEBUG
-const char *ohci_cc_strs[] = {
+const char *const ohci_cc_strs[] = {
        "NO_ERROR",
        "CRC",
        "BIT_STUFFING",



Home | Main Index | Thread Index | Old Index