Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/broadcom Fix build on SOC_BCM2835 kernels



details:   https://anonhg.NetBSD.org/src/rev/a3b12eea6797
branches:  trunk
changeset: 454794:a3b12eea6797
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Sep 28 07:39:30 2019 +0000

description:
Fix build on SOC_BCM2835 kernels

diffstat:

 sys/arch/arm/broadcom/bcm283x_platform.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r 76fced6d1e98 -r a3b12eea6797 sys/arch/arm/broadcom/bcm283x_platform.c
--- a/sys/arch/arm/broadcom/bcm283x_platform.c  Sat Sep 28 07:24:52 2019 +0000
+++ b/sys/arch/arm/broadcom/bcm283x_platform.c  Sat Sep 28 07:39:30 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bcm283x_platform.c,v 1.25 2019/09/27 12:58:54 skrll Exp $      */
+/*     $NetBSD: bcm283x_platform.c,v 1.26 2019/09/28 07:39:30 skrll Exp $      */
 
 /*-
  * Copyright (c) 2017 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm283x_platform.c,v 1.25 2019/09/27 12:58:54 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm283x_platform.c,v 1.26 2019/09/28 07:39:30 skrll Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_bcm283x.h"
@@ -322,7 +322,6 @@
 
        return devmap;
 }
-#endif
 
 static const struct pmap_devmap *
 bcm2838_platform_devmap(void)
@@ -342,6 +341,8 @@
 
        return devmap;
 }
+#endif
+
 /*
  * Macros to translate between physical and virtual for a subset of the
  * kernel address space.  *Not* for general use.



Home | Main Index | Thread Index | Old Index