From 0e477c9112f8224a7b8bdab0924b3916d3f1f2a6 Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Mon, 14 Feb 2005 13:55:21 +0000 Subject: remove unused headers (you can guess what i based this code on) and make the prototypes consistent. ok drahn@ --- sys/arch/arm/xscale/pxa2x0_ohci.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'sys/arch/arm/xscale') 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 @@ -16,12 +16,9 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include - #include #include #include -#include #include #include @@ -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; -- cgit v1.2.3