diff options
author | peter <peter@FreeBSD.org> | 2000-01-23 19:27:11 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-01-23 19:27:11 +0000 |
commit | fb5d4fa8430a468cd580b5241fb5e5ed63fe2ddf (patch) | |
tree | fe1ffb27e8dfd7793d8400d3ed7847d2fa3d269f /sys/pci | |
parent | 6588369b693eb55da5e5d8cce7484920e822a87f (diff) | |
download | FreeBSD-src-fb5d4fa8430a468cd580b5241fb5e5ed63fe2ddf.zip FreeBSD-src-fb5d4fa8430a468cd580b5241fb5e5ed63fe2ddf.tar.gz |
Fix some warnings.
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/uhci_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/uhci_pci.c b/sys/pci/uhci_pci.c index c05d48b..779eb56 100644 --- a/sys/pci/uhci_pci.c +++ b/sys/pci/uhci_pci.c @@ -93,7 +93,7 @@ static const char *uhci_device_generic = "UHCI (generic) USB controller"; static int uhci_pci_suspend(device_t self) { - uhci_softc_t *sc = device_get_softc(self); + bus_generic_suspend(self); return 0; @@ -102,9 +102,9 @@ uhci_pci_suspend(device_t self) static int uhci_pci_resume(device_t self) { +#if 0 uhci_softc_t *sc = device_get_softc(self); -#if 0 uhci_reset(sc); #endif bus_generic_resume(self); |