strict kobj signatures: fix assortment of bus_read_ivar impls

Reviewed by:	imp, current@
Approved by:	jhb (mentor)
This commit is contained in:
Andriy Gapon 2009-06-11 17:06:58 +00:00
parent a03fb243dc
commit 7c6ee94f8c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=194020
3 changed files with 3 additions and 3 deletions

View File

@ -315,7 +315,7 @@ eisa_find_ioaddr(struct eisa_device *e_dev, int rid)
}
static int
eisa_read_ivar(device_t dev, device_t child, int which, u_long *result)
eisa_read_ivar(device_t dev, device_t child, int which, uintptr_t *result)
{
struct eisa_device *e_dev = device_get_ivars(child);
struct irq_node *irq;

View File

@ -432,7 +432,7 @@ mca_probe_nomatch (device_t dev, device_t child)
}
static int
mca_read_ivar (device_t dev, device_t child, int which, u_long * result)
mca_read_ivar (device_t dev, device_t child, int which, uintptr_t * result)
{
struct mca_device * m_dev = device_get_ivars(child);

View File

@ -112,7 +112,7 @@ spibus_child_pnpinfo_str(device_t bus, device_t child, char *buf,
}
static int
spibus_read_ivar(device_t bus, device_t child, int which, u_char *result)
spibus_read_ivar(device_t bus, device_t child, int which, u_int *result)
{
struct spibus_ivar *devi = SPIBUS_IVAR(child);