Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci fix typos
details: https://anonhg.NetBSD.org/src/rev/ef4ff38aaf9e
branches: trunk
changeset: 758986:ef4ff38aaf9e
user: christos <christos%NetBSD.org@localhost>
date: Tue Nov 23 04:36:09 2010 +0000
description:
fix typos
diffstat:
sys/dev/pci/if_wi_pci.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r f05768155d2b -r ef4ff38aaf9e sys/dev/pci/if_wi_pci.c
--- a/sys/dev/pci/if_wi_pci.c Tue Nov 23 04:33:09 2010 +0000
+++ b/sys/dev/pci/if_wi_pci.c Tue Nov 23 04:36:09 2010 +0000
@@ -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. */
Home |
Main Index |
Thread Index |
Old Index