Type sanity: use uintptr_t * for read_ivar and u_int8_t instead of u_char
This commit is contained in:
parent
f470b3bb56
commit
e4db871961
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user