Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbppc/explora Reduce ifdef. No functional changes.
details: https://anonhg.NetBSD.org/src/rev/14d62887ac3a
branches: trunk
changeset: 960062:14d62887ac3a
user: rin <rin%NetBSD.org@localhost>
date: Sun Mar 07 09:47:00 2021 +0000
description:
Reduce ifdef. No functional changes.
diffstat:
sys/arch/evbppc/explora/consinit.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (35 lines):
diff -r 15b5703ad189 -r 14d62887ac3a sys/arch/evbppc/explora/consinit.c
--- a/sys/arch/evbppc/explora/consinit.c Sun Mar 07 09:43:56 2021 +0000
+++ b/sys/arch/evbppc/explora/consinit.c Sun Mar 07 09:47:00 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: consinit.c,v 1.10 2021/03/05 06:06:34 rin Exp $ */
+/* $NetBSD: consinit.c,v 1.11 2021/03/07 09:47:00 rin Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: consinit.c,v 1.10 2021/03/05 06:06:34 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: consinit.c,v 1.11 2021/03/07 09:47:00 rin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -62,14 +62,13 @@
#define COM_CONSOLE_SPEED 9600
#endif
+extern void fb_cnattach(bus_space_tag_t, bus_addr_t, void *);
+
void
consinit(void)
{
bus_space_tag_t tag;
static int done = 0;
-#ifndef COM_IS_CONSOLE
- extern void fb_cnattach(bus_space_tag_t, bus_addr_t, void *);
-#endif
if (done)
return;
Home |
Main Index |
Thread Index |
Old Index