diff options
author | imp <imp@FreeBSD.org> | 2001-08-10 06:00:44 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2001-08-10 06:00:44 +0000 |
commit | 41502082f3ff6465a04cd16ed0469c21b8cc1694 (patch) | |
tree | 06df0ce8b81e2882a2d08f1b29879a67bc35cd03 /sys/pccard | |
parent | 57b70118c1cbca06e31b49b8890b4bcdee2ffc91 (diff) | |
download | FreeBSD-src-41502082f3ff6465a04cd16ed0469c21b8cc1694.zip FreeBSD-src-41502082f3ff6465a04cd16ed0469c21b8cc1694.tar.gz |
Type sanity: use uintptr_t * for read_ivar and u_int8_t instead of u_char
Diffstat (limited to 'sys/pccard')
-rw-r--r-- | sys/pccard/pccard_nbk.c | 2 | ||||
-rw-r--r-- | sys/pccard/pcicvar.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/pccard/pccard_nbk.c b/sys/pccard/pccard_nbk.c index e138cce..cb4d33f 100644 --- a/sys/pccard/pccard_nbk.c +++ b/sys/pccard/pccard_nbk.c @@ -297,7 +297,7 @@ pccard_release_resource(device_t bus, device_t child, int type, int rid, } static int -pccard_read_ivar(device_t bus, device_t child, int which, u_char *result) +pccard_read_ivar(device_t bus, device_t child, int which, uintptr_t *result) { struct pccard_devinfo *devi = PCCARD_DEVINFO(child); diff --git a/sys/pccard/pcicvar.h b/sys/pccard/pcicvar.h index ff986c9..79d65a8 100644 --- a/sys/pccard/pcicvar.h +++ b/sys/pccard/pcicvar.h @@ -33,8 +33,8 @@ struct pcic_slot { char revision; /* Device Revision */ struct slot *slt; /* Back ptr to slot */ struct pcic_softc *sc; /* Back pointer to softc */ - u_char (*getb)(struct pcic_slot *, int); - void (*putb)(struct pcic_slot *, int, u_char); + u_int8_t (*getb)(struct pcic_slot *, int); + void (*putb)(struct pcic_slot *, int, u_int8_t); bus_space_tag_t bst; bus_space_handle_t bsh; driver_intr_t *intr; |