Make it compile with gcc4.

This commit is contained in:
rjs 2006-09-26 16:35:26 +00:00
parent 68c8876e88
commit 7741a20ae9

View File

@ -1,4 +1,4 @@
/* $NetBSD: ipaq_atmelgpio.c,v 1.11 2006/03/25 15:23:49 peter Exp $ */
/* $NetBSD: ipaq_atmelgpio.c,v 1.12 2006/09/26 16:35:26 rjs Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc. All rights reserved.
@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ipaq_atmelgpio.c,v 1.11 2006/03/25 15:23:49 peter Exp $");
__KERNEL_RCSID(0, "$NetBSD: ipaq_atmelgpio.c,v 1.12 2006/09/26 16:35:26 rjs Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -117,6 +117,9 @@ atmelgpio_attach(parent, self, aux)
atmelgpio_init(sc);
rxbuf.idx = 0;
rxbuf.len = 0;
#if 1 /* this is sample */
rxtx_data(sc, STATUS_BATTERY, 0, NULL, &rxbuf);