diff options
Diffstat (limited to 'sys/arch/arm/xscale/pxa2x0_com.c')
-rw-r--r-- | sys/arch/arm/xscale/pxa2x0_com.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/sys/arch/arm/xscale/pxa2x0_com.c b/sys/arch/arm/xscale/pxa2x0_com.c index dab4d574eff..d1a55da5f41 100644 --- a/sys/arch/arm/xscale/pxa2x0_com.c +++ b/sys/arch/arm/xscale/pxa2x0_com.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pxa2x0_com.c,v 1.5 2005/05/27 18:42:15 uwe Exp $ */ +/* $OpenBSD: pxa2x0_com.c,v 1.6 2005/06/16 21:06:55 uwe Exp $ */ /* $NetBSD: pxa2x0_com.c,v 1.4 2003/07/15 00:24:55 lukem Exp $ */ /* @@ -62,18 +62,9 @@ __KERNEL_RCSID(0, "$NetBSD: pxa2x0_com.c,v 1.4 2003/07/15 00:24:55 lukem Exp $") static int pxauart_match(struct device *, void *, void *); static void pxauart_attach(struct device *, struct device *, void *); -#ifdef __NetBSD__ -CFATTACH_DECL(pxauart, sizeof(struct com_softc), - pxauart_match, pxauart_attach, NULL, NULL); -#else -struct cfattach pxauart_ca = { +struct cfattach com_pxaip_ca = { sizeof (struct com_softc), pxauart_match, pxauart_attach }; - -struct cfdriver pxauart_cd = { - NULL, "pxauart", DV_DULL -}; -#endif static int pxauart_match(struct device *parent, void *cf, void *aux) |