Source-Changes-HG archive

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

[src/trunk]: src/sys/arch minor constification



details:   https://anonhg.NetBSD.org/src/rev/59c35a8b3e54
branches:  trunk
changeset: 808831:59c35a8b3e54
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Jun 04 05:22:10 2015 +0000

description:
minor constification

diffstat:

 sys/arch/evbmips/cavium/octeon_bootbus_machdep.c |  6 +++---
 sys/arch/mips/cavium/include/bootbusvar.h        |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r b2404d9e639e -r 59c35a8b3e54 sys/arch/evbmips/cavium/octeon_bootbus_machdep.c
--- a/sys/arch/evbmips/cavium/octeon_bootbus_machdep.c  Thu Jun 04 05:21:09 2015 +0000
+++ b/sys/arch/evbmips/cavium/octeon_bootbus_machdep.c  Thu Jun 04 05:22:10 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: octeon_bootbus_machdep.c,v 1.1 2015/04/29 08:32:01 hikaru Exp $        */
+/*     $NetBSD: octeon_bootbus_machdep.c,v 1.2 2015/06/04 05:22:10 matt Exp $  */
 
 /*
  * Copyright (c) 2007 Internet Initiative Japan, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: octeon_bootbus_machdep.c,v 1.1 2015/04/29 08:32:01 hikaru Exp $");
+__KERNEL_RCSID(0, "$NetBSD: octeon_bootbus_machdep.c,v 1.2 2015/06/04 05:22:10 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -36,7 +36,7 @@
 
 #include <mips/cavium/include/bootbusvar.h>
 
-const struct bootbus_dev       *bootbus_devs[] = {
+const struct bootbus_dev * const bootbus_devs[] = {
 };
 
 const size_t bootbus_ndevs = __arraycount(bootbus_devs);
diff -r b2404d9e639e -r 59c35a8b3e54 sys/arch/mips/cavium/include/bootbusvar.h
--- a/sys/arch/mips/cavium/include/bootbusvar.h Thu Jun 04 05:21:09 2015 +0000
+++ b/sys/arch/mips/cavium/include/bootbusvar.h Thu Jun 04 05:22:10 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bootbusvar.h,v 1.1 2015/04/29 08:32:01 hikaru Exp $    */
+/*     $NetBSD: bootbusvar.h,v 1.2 2015/06/04 05:22:11 matt Exp $      */
 
 /*
  * Copyright (c) 2007
@@ -57,7 +57,7 @@
        bus_dma_tag_t   aa_dmat;
 };
 
-extern const struct bootbus_dev *bootbus_devs[];
+extern const struct bootbus_dev * const bootbus_devs[];
 extern const size_t bootbus_ndevs;
 
 void           bootbus_bootstrap(struct octeon_config *);



Home | Main Index | Thread Index | Old Index