Module Name:    src
Committed By:   tsutsui
Date:           Thu May 26 14:30:11 UTC 2022

Modified Files:
        src/sys/arch/x68k/dev: zs.c

Log Message:
Make a readonly array const.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/x68k/dev/zs.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/arch/x68k/dev/zs.c
diff -u src/sys/arch/x68k/dev/zs.c:1.47 src/sys/arch/x68k/dev/zs.c:1.48
--- src/sys/arch/x68k/dev/zs.c:1.47	Sat Sep 11 20:28:05 2021
+++ src/sys/arch/x68k/dev/zs.c	Thu May 26 14:30:11 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: zs.c,v 1.47 2021/09/11 20:28:05 andvar Exp $	*/
+/*	$NetBSD: zs.c,v 1.48 2022/05/26 14:30:11 tsutsui Exp $	*/
 
 /*-
  * Copyright (c) 1998 Minoura Makoto
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.47 2021/09/11 20:28:05 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.48 2022/05/26 14:30:11 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -89,7 +89,7 @@ int zscn_def_cflag = (CREAD | CS8 | HUPC
 
 /* Default physical addresses. */
 #define ZS_MAXDEV 5
-static bus_addr_t zs_physaddr[ZS_MAXDEV] = {
+static const bus_addr_t zs_physaddr[ZS_MAXDEV] = {
 	0x00e98000,
 	0x00eafc00,
 	0x00eafc10,

Reply via email to