Module Name: src
Committed By: christos
Date: Tue Nov 23 04:36:09 UTC 2010
Modified Files:
src/sys/dev/pci: if_wi_pci.c
Log Message:
fix typos
To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/dev/pci/if_wi_pci.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/dev/pci/if_wi_pci.c
diff -u src/sys/dev/pci/if_wi_pci.c:1.51 src/sys/dev/pci/if_wi_pci.c:1.52
--- src/sys/dev/pci/if_wi_pci.c:1.51 Mon Nov 22 23:33:09 2010
+++ src/sys/dev/pci/if_wi_pci.c Mon Nov 22 23:36:09 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wi_pci.c,v 1.51 2010/11/23 04:33:09 christos Exp $ */
+/* $NetBSD: if_wi_pci.c,v 1.52 2010/11/23 04:36:09 christos Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wi_pci.c,v 1.51 2010/11/23 04:33:09 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wi_pci.c,v 1.52 2010/11/23 04:36:09 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -129,8 +129,8 @@
static int
wi_pci_enable(device_t self, int onoff)
{
- struct wi_pci_softc *psc = device_pivate(self);
- struct wi_softc *sc = &psc->sc_wi;
+ struct wi_pci_softc *psc = device_private(self);
+ struct wi_softc *sc = &psc->psc_wi;
if (onoff) {
/* establish the interrupt. */