Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/nvidia #ifdef consistency.
details: https://anonhg.NetBSD.org/src/rev/db30df6caf18
branches: trunk
changeset: 942894:db30df6caf18
user: uwe <uwe%NetBSD.org@localhost>
date: Fri Aug 21 23:30:02 2020 +0000
description:
#ifdef consistency.
diffstat:
sys/arch/arm/nvidia/tegra_platform.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (50 lines):
diff -r fba064b75b1d -r db30df6caf18 sys/arch/arm/nvidia/tegra_platform.c
--- a/sys/arch/arm/nvidia/tegra_platform.c Fri Aug 21 23:28:11 2020 +0000
+++ b/sys/arch/arm/nvidia/tegra_platform.c Fri Aug 21 23:30:02 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_platform.c,v 1.22 2020/07/10 12:25:09 skrll Exp $ */
+/* $NetBSD: tegra_platform.c,v 1.23 2020/08/21 23:30:02 uwe Exp $ */
/*-
* Copyright (c) 2017 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -34,7 +34,7 @@
#include "ukbd.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_platform.c,v 1.22 2020/07/10 12:25:09 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_platform.c,v 1.23 2020/08/21 23:30:02 uwe Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -86,6 +86,7 @@
#endif
}
+#if defined(SOC_TEGRA124) || defined(SOC_TEGRA210)
static const struct pmap_devmap *
tegra_platform_devmap(void)
{
@@ -107,6 +108,7 @@
return devmap;
}
+#endif /* SOC_TEGRA124 || SOC_TEGRA210 */
#if defined(SOC_TEGRA124)
static void
@@ -133,6 +135,7 @@
}
#endif
+#if defined(SOC_TEGRA124) || defined(SOC_TEGRA210)
static void
tegra_platform_init_attach_args(struct fdt_attach_args *faa)
{
@@ -212,6 +215,7 @@
{
return PLLP_OUT0_FREQ;
}
+#endif /* SOC_TEGRA124 || SOC_TEGRA210 */
#if defined(SOC_TEGRA124)
static const struct arm_platform tegra124_platform = {
Home |
Main Index |
Thread Index |
Old Index