Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbppc/walnut Second argument of config_rootfound i...



details:   https://anonhg.NetBSD.org/src/rev/7f109ecf41bc
branches:  trunk
changeset: 331078:7f109ecf41bc
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Jul 30 19:33:56 2014 +0000

description:
Second argument of config_rootfound is void *, so discard const
explicitly.

diffstat:

 sys/arch/evbppc/walnut/autoconf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r bf1ab7f9bd70 -r 7f109ecf41bc sys/arch/evbppc/walnut/autoconf.c
--- a/sys/arch/evbppc/walnut/autoconf.c Wed Jul 30 15:47:32 2014 +0000
+++ b/sys/arch/evbppc/walnut/autoconf.c Wed Jul 30 19:33:56 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.21 2012/07/29 18:05:42 mlelstv Exp $    */
+/*     $NetBSD: autoconf.c,v 1.22 2014/07/30 19:33:56 joerg Exp $      */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.21 2012/07/29 18:05:42 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.22 2014/07/30 19:33:56 joerg Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -68,7 +68,7 @@
        /* Make sure that timers run at CPU frequency */
        mtdcr(DCR_CPC0_CR1, mfdcr(DCR_CPC0_CR1) & ~CPC0_CR1_CETE);
 
-       if (config_rootfound("plb", &local_plb_devs) == NULL)
+       if (config_rootfound("plb", __UNCONST(&local_plb_devs)) == NULL)
                panic("configure: plb not configured");
 
        (void)spl0();



Home | Main Index | Thread Index | Old Index