diff options
| author | riastradh <riastradh@NetBSD.org> | 2021-06-15 23:39:43 +0000 |
|---|---|---|
| committer | riastradh <riastradh@NetBSD.org> | 2021-06-15 23:39:43 +0000 |
| commit | cb214b6622c688e776032bf46bc0c14c5ef221de (patch) | |
| tree | 6eb7b6052953b2f5bb10bf302ef705e9b20c61ca /sys/dev | |
| parent | 85bd87dab24631801822b54d2e7f84aabaeb05aa (diff) | |
ohci(4): Constify a constant debug string table.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/usb/ohci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c index ea8f726da37..c655ccd9f8d 100644 --- a/sys/dev/usb/ohci.c +++ b/sys/dev/usb/ohci.c @@ -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", |
