Module Name: src Committed By: riastradh Date: Tue Jun 15 23:39:43 UTC 2021
Modified Files: src/sys/dev/usb: ohci.c Log Message: ohci(4): Constify a constant debug string table. To generate a diff of this commit: cvs rdiff -u -r1.315 -r1.316 src/sys/dev/usb/ohci.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/ohci.c diff -u src/sys/dev/usb/ohci.c:1.315 src/sys/dev/usb/ohci.c:1.316 --- src/sys/dev/usb/ohci.c:1.315 Tue Jan 5 18:00:21 2021 +++ src/sys/dev/usb/ohci.c Tue Jun 15 23:39:43 2021 @@ -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 @@ ohci_rhsc_enable(void *v_sc) } #ifdef OHCI_DEBUG -const char *ohci_cc_strs[] = { +const char *const ohci_cc_strs[] = { "NO_ERROR", "CRC", "BIT_STUFFING",