Module Name: src
Committed By: christos
Date: Mon Sep 6 20:03:56 UTC 2010
Modified Files:
src/sys/arch/x86/pci: ichlpcib.c
Log Message:
make it compile.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/x86/pci/ichlpcib.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x86/pci/ichlpcib.c
diff -u src/sys/arch/x86/pci/ichlpcib.c:1.27 src/sys/arch/x86/pci/ichlpcib.c:1.28
--- src/sys/arch/x86/pci/ichlpcib.c:1.27 Mon Aug 16 21:45:51 2010
+++ src/sys/arch/x86/pci/ichlpcib.c Mon Sep 6 16:03:56 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: ichlpcib.c,v 1.27 2010/08/17 01:45:51 jakllsch Exp $ */
+/* $NetBSD: ichlpcib.c,v 1.28 2010/09/06 20:03:56 christos Exp $ */
/*-
* Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ichlpcib.c,v 1.27 2010/08/17 01:45:51 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ichlpcib.c,v 1.28 2010/09/06 20:03:56 christos Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -371,7 +371,7 @@
static int
lpcibrescan(device_t self, const char *ifattr, const int *locators)
{
-#if NHPET > 0 || NGPIO > 0
+#if NHPET > 0 || NGPIO > 0 || NFWHRNG > 0
struct lpcib_softc *sc = device_private(self);
#endif