Initialize the two new members of "struct console" to NULL so that

this file compiles again.
This commit is contained in:
he 2003-03-08 09:42:56 +00:00
parent b44ef110a7
commit 0f55132c91
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#define AU1x00_UART /* XXX */
/* $NetBSD: aucom.c,v 1.3 2002/10/23 09:11:34 jdolecek Exp $ */
/* $NetBSD: aucom.c,v 1.4 2003/03/08 09:42:56 he Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@ -80,7 +80,7 @@
* XXX: hacked to work with almost 16550-alike Alchemy Au1X00 on-chip uarts
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: aucom.c,v 1.3 2002/10/23 09:11:34 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: aucom.c,v 1.4 2003/03/08 09:42:56 he Exp $");
#include "opt_com.h"
#include "opt_ddb.h"
@ -2403,7 +2403,7 @@ cominit(bus_space_tag_t iot, bus_addr_t iobase, int rate, int frequency,
*/
struct consdev comcons = {
NULL, NULL, comcngetc, comcnputc, comcnpollc, NULL,
NODEV, CN_NORMAL
NULL, NULL, NODEV, CN_NORMAL
};