diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2005-02-14 13:55:21 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2005-02-14 13:55:21 +0000 |
commit | 0e477c9112f8224a7b8bdab0924b3916d3f1f2a6 (patch) | |
tree | d7d4f055ba46d4f6c34ed235a75f8301c0949b94 /sys/arch/arm/xscale | |
parent | 43caae512abecef3c45a78efb872296d117334e5 (diff) |
remove unused headers (you can guess what i based this code on) and make
the prototypes consistent.
ok drahn@
Diffstat (limited to 'sys/arch/arm/xscale')
-rw-r--r-- | sys/arch/arm/xscale/pxa2x0_ohci.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/arch/arm/xscale/pxa2x0_ohci.c b/sys/arch/arm/xscale/pxa2x0_ohci.c index e1641eca4dd..13954d31b4d 100644 --- a/sys/arch/arm/xscale/pxa2x0_ohci.c +++ b/sys/arch/arm/xscale/pxa2x0_ohci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pxa2x0_ohci.c,v 1.7 2005/02/12 05:23:35 dlg Exp $ */ +/* $OpenBSD: pxa2x0_ohci.c,v 1.8 2005/02/14 13:55:20 dlg Exp $ */ /* * Copyright (c) 2005 David Gwynne <dlg@openbsd.org> @@ -16,12 +16,9 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include <sys/cdefs.h> - #include <sys/param.h> #include <sys/systm.h> #include <sys/device.h> -#include <sys/termios.h> #include <sys/kernel.h> #include <machine/intr.h> @@ -40,7 +37,7 @@ int pxaohci_match(struct device *, void *, void *); void pxaohci_attach(struct device *, struct device *, void *); -int pxaohci_detach(device_ptr_t, int); +int pxaohci_detach(struct device *, int); struct pxaohci_softc { ohci_softc_t sc; @@ -144,7 +141,7 @@ pxaohci_attach(struct device *parent, struct device *self, void *aux) } int -pxaohci_detach(device_ptr_t self, int flags) +pxaohci_detach(struct device *self, int flags) { struct pxaohci_softc *sc = (struct pxaohci_softc *)self; u_int32_t hr; |