Module Name:    src
Committed By:   jmcneill
Date:           Sun Jun 11 01:15:11 UTC 2017

Modified Files:
        src/sys/arch/arm/samsung: exynos_platform.c

Log Message:
Fix build w/o VERBOSE_INIT_ARM


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/samsung/exynos_platform.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/arm/samsung/exynos_platform.c
diff -u src/sys/arch/arm/samsung/exynos_platform.c:1.3 src/sys/arch/arm/samsung/exynos_platform.c:1.4
--- src/sys/arch/arm/samsung/exynos_platform.c:1.3	Sun Jun 11 01:09:44 2017
+++ src/sys/arch/arm/samsung/exynos_platform.c	Sun Jun 11 01:15:11 2017
@@ -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 <jmcne...@invisible.ca>
@@ -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 @@ exynos_platform_init_attach_args(struct 
 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

Reply via email to