diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2005-12-30 03:43:05 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2005-12-30 03:43:05 +0000 |
commit | 6febf8e9cb47e7a7d579232a14532e523c9ec435 (patch) | |
tree | 3ae8bbc1207525820cd6941c234b9b1e089c5d06 /sys/dev/pci/ehci_pci.c | |
parent | 9602ac750dc47fa055e2f4afdf856f650f5fa717 (diff) |
device_ptr_t -> struct device *
i hate typedefs
Diffstat (limited to 'sys/dev/pci/ehci_pci.c')
-rw-r--r-- | sys/dev/pci/ehci_pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/ehci_pci.c b/sys/dev/pci/ehci_pci.c index 3a89bd510a7..b56b736c86b 100644 --- a/sys/dev/pci/ehci_pci.c +++ b/sys/dev/pci/ehci_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ehci_pci.c,v 1.7 2005/08/09 04:10:11 mickey Exp $ */ +/* $OpenBSD: ehci_pci.c,v 1.8 2005/12/30 03:43:04 dlg Exp $ */ /* $NetBSD: ehci_pci.c,v 1.15 2004/04/23 21:13:06 itojun Exp $ */ /* @@ -78,7 +78,7 @@ struct ehci_pci_softc { int ehci_pci_match(struct device *, void *, void *); void ehci_pci_attach(struct device *, struct device *, void *); -int ehci_pci_detach(device_ptr_t, int); +int ehci_pci_detach(struct device *, int); void ehci_pci_givecontroller(struct ehci_pci_softc *); void ehci_pci_takecontroller(struct ehci_pci_softc *); void ehci_pci_shutdown(void *); @@ -202,7 +202,7 @@ ehci_pci_attach(struct device *parent, struct device *self, void *aux) } int -ehci_pci_detach(device_ptr_t self, int flags) +ehci_pci_detach(struct device *self, int flags) { struct ehci_pci_softc *sc = (struct ehci_pci_softc *)self; int rv; |