Fix const use.
This commit is contained in:
parent
97e7a6dce3
commit
9b97293f31
|
@ -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 @@ int chipsfb_ofbus_cnattach(bus_space_tag_t, bus_space_tag_t);
|
|||
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;
|
||||
|
|
|
@ -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 @@ static paddr_t igsfb_ofbus_mmap(void *, void *, off_t, int);
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue