Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/samsung Fix build w/o VERBOSE_INIT_ARM



details:   https://anonhg.NetBSD.org/src/rev/d486317c0c39
branches:  trunk
changeset: 824601:d486317c0c39
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Jun 11 01:15:11 2017 +0000

description:
Fix build w/o VERBOSE_INIT_ARM

diffstat:

 sys/arch/arm/samsung/exynos_platform.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r fb6f16ee88f4 -r d486317c0c39 sys/arch/arm/samsung/exynos_platform.c
--- a/sys/arch/arm/samsung/exynos_platform.c    Sun Jun 11 01:09:44 2017 +0000
+++ b/sys/arch/arm/samsung/exynos_platform.c    Sun Jun 11 01:15:11 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exynos_platform.c,v 1.3 2017/06/11 01:09:44 jmcneill Exp $ */
+/* $NetBSD: exynos_platform.c,v 1.4 2017/06/11 01:15:11 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -33,7 +33,7 @@
 #include "ukbd.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: exynos_platform.c,v 1.3 2017/06/11 01:09:44 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: exynos_platform.c,v 1.4 2017/06/11 01:15:11 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -110,9 +110,11 @@
 static void
 exynos_platform_early_putchar(char c)
 {
+#if defined(VERBOSE_INIT_ARM)
        extern void exynos_putchar(int);        /* XXX from exynos_start.S */
 
        exynos_putchar(c);
+#endif
 }
 
 static void



Home | Main Index | Thread Index | Old Index