Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/shark/ofw Fix const use.



details:   https://anonhg.NetBSD.org/src/rev/686b691db91f
branches:  trunk
changeset: 325656:686b691db91f
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Jan 02 19:00:39 2014 +0000

description:
Fix const use.

diffstat:

 sys/arch/shark/ofw/chipsfb_ofbus.c |  6 +++---
 sys/arch/shark/ofw/igsfb_ofbus.c   |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r b84887605225 -r 686b691db91f sys/arch/shark/ofw/chipsfb_ofbus.c
--- a/sys/arch/shark/ofw/chipsfb_ofbus.c        Thu Jan 02 18:52:04 2014 +0000
+++ b/sys/arch/shark/ofw/chipsfb_ofbus.c        Thu Jan 02 19:00:39 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: chipsfb_ofbus.c,v 1.3 2012/08/22 21:15:17 macallan Exp $ */
+/*     $NetBSD: chipsfb_ofbus.c,v 1.4 2014/01/02 19:00:39 joerg Exp $ */
 
 /*
  * Copyright (c) 2011 Michael Lorenz
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: chipsfb_ofbus.c,v 1.3 2012/08/22 21:15:17 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: chipsfb_ofbus.c,v 1.4 2014/01/02 19:00:39 joerg Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -73,7 +73,7 @@
 CFATTACH_DECL_NEW(chipsfb_ofbus, sizeof(struct chipsfb_softc),
     chipsfb_ofbus_match, chipsfb_ofbus_attach, NULL, NULL);
     
-static const char const *compat_strings[] = { "CHPS,ct65550", NULL };
+static const char * const compat_strings[] = { "CHPS,ct65550", NULL };
 
 vaddr_t chipsfb_mem_vaddr = 0, chipsfb_mmio_vaddr = 0;
 paddr_t chipsfb_mem_paddr;
diff -r b84887605225 -r 686b691db91f sys/arch/shark/ofw/igsfb_ofbus.c
--- a/sys/arch/shark/ofw/igsfb_ofbus.c  Thu Jan 02 18:52:04 2014 +0000
+++ b/sys/arch/shark/ofw/igsfb_ofbus.c  Thu Jan 02 19:00:39 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: igsfb_ofbus.c,v 1.14 2012/10/27 17:18:11 chs Exp $ */
+/*     $NetBSD: igsfb_ofbus.c,v 1.15 2014/01/02 19:00:39 joerg Exp $ */
 
 /*
  * Copyright (c) 2006 Michael Lorenz
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: igsfb_ofbus.c,v 1.14 2012/10/27 17:18:11 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: igsfb_ofbus.c,v 1.15 2014/01/02 19:00:39 joerg Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -73,7 +73,7 @@
 CFATTACH_DECL_NEW(igsfb_ofbus, sizeof(struct igsfb_softc),
     igsfb_ofbus_match, igsfb_ofbus_attach, NULL, NULL);
     
-static const char const *compat_strings[] = { "igs,cyperpro2010", NULL };
+static const char * const compat_strings[] = { "igs,cyperpro2010", NULL };
 
 vaddr_t igsfb_mem_vaddr = 0, igsfb_mmio_vaddr = 0;
 paddr_t igsfb_mem_paddr;



Home | Main Index | Thread Index | Old Index