use device_t correctly for imxuart.
This commit is contained in:
parent
04e42faa8e
commit
8af7e1f7d5
@ -36,7 +36,7 @@
|
||||
|
||||
|
||||
int
|
||||
imxuart_match(struct device *parent, struct cfdata *cf, void *aux)
|
||||
imxuart_match(device_t parent, struct cfdata *cf, void *aux)
|
||||
{
|
||||
struct aips_attach_args * const aipsa = aux;
|
||||
|
||||
@ -53,7 +53,7 @@ imxuart_match(struct device *parent, struct cfdata *cf, void *aux)
|
||||
}
|
||||
|
||||
void
|
||||
imxuart_attach(struct device *parent, struct device *self, void *aux)
|
||||
imxuart_attach(device_t parent, device_t self, void *aux)
|
||||
{
|
||||
struct aips_attach_args * aa = aux;
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
|
||||
|
||||
int
|
||||
imxuart_match(struct device *parent, struct cfdata *cf, void *aux)
|
||||
imxuart_match(device_t parent, struct cfdata *cf, void *aux)
|
||||
{
|
||||
struct axi_attach_args * const aa = aux;
|
||||
|
||||
@ -51,7 +51,7 @@ imxuart_match(struct device *parent, struct cfdata *cf, void *aux)
|
||||
}
|
||||
|
||||
void
|
||||
imxuart_attach(struct device *parent, struct device *self, void *aux)
|
||||
imxuart_attach(device_t parent, device_t self, void *aux)
|
||||
{
|
||||
struct axi_attach_args * aa = aux;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: imxuart.c,v 1.5 2010/11/13 06:12:17 bsh Exp $ */
|
||||
/* $NetBSD: imxuart.c,v 1.6 2010/11/27 13:37:27 bsh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009, 2010 Genetec Corporation. All rights reserved.
|
||||
@ -96,7 +96,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: imxuart.c,v 1.5 2010/11/13 06:12:17 bsh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: imxuart.c,v 1.6 2010/11/27 13:37:27 bsh Exp $");
|
||||
|
||||
#include "opt_imxuart.h"
|
||||
#include "opt_ddb.h"
|
||||
@ -388,7 +388,7 @@ void imxuart_kgdb_putc(void *, int);
|
||||
|
||||
|
||||
void
|
||||
imxuart_attach_common(struct device *parent, struct device *self,
|
||||
imxuart_attach_common(device_t parent, device_t self,
|
||||
bus_space_tag_t iot, paddr_t iobase, size_t size, int intr, int flags)
|
||||
{
|
||||
imxuart_softc_t *sc = device_private(self);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: imxuartvar.h,v 1.3 2010/11/13 06:12:17 bsh Exp $ */
|
||||
/* $NetBSD: imxuartvar.h,v 1.4 2010/11/27 13:37:27 bsh Exp $ */
|
||||
/*
|
||||
* driver include for Freescale i.MX31 and i.MX31L UARTs
|
||||
*/
|
||||
@ -36,7 +36,7 @@
|
||||
#include <sys/termios.h> /* for tcflag_t */
|
||||
|
||||
|
||||
void imxuart_attach_common(struct device *parent, struct device *self,
|
||||
void imxuart_attach_common(device_t parent, device_t self,
|
||||
bus_space_tag_t, paddr_t, size_t, int, int);
|
||||
|
||||
int imxuart_kgdb_attach(bus_space_tag_t, paddr_t, u_int, tcflag_t);
|
||||
|
Loading…
Reference in New Issue
Block a user