aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/iicbus
diff options
context:
space:
mode:
authorBernd Walter <ticso@FreeBSD.org>2003-08-10 14:28:24 +0000
committerBernd Walter <ticso@FreeBSD.org>2003-08-10 14:28:24 +0000
commitb08a61b04535b8e51bd8b3be74967a897428d21f (patch)
tree41614e4ec4c13dc81df901f7cd6221acb087126e /sys/dev/iicbus
parentf6901ba8398dad94329fd7742f86453394191536 (diff)
Notes
Diffstat (limited to 'sys/dev/iicbus')
-rw-r--r--sys/dev/iicbus/iic.c2
-rw-r--r--sys/dev/iicbus/iicsmb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/iicbus/iic.c b/sys/dev/iicbus/iic.c
index cd33d2c557e4..d6410c7e8824 100644
--- a/sys/dev/iicbus/iic.c
+++ b/sys/dev/iicbus/iic.c
@@ -106,7 +106,7 @@ static struct cdevsw iic_cdevsw = {
static void
iic_identify(driver_t *driver, device_t parent)
{
- BUS_ADD_CHILD(parent, 0, "iic", 0);
+ BUS_ADD_CHILD(parent, 0, "iic", -1);
}
static int
diff --git a/sys/dev/iicbus/iicsmb.c b/sys/dev/iicbus/iicsmb.c
index 9bc4d869a248..966063f2a13b 100644
--- a/sys/dev/iicbus/iicsmb.c
+++ b/sys/dev/iicbus/iicsmb.c
@@ -138,7 +138,7 @@ static driver_t iicsmb_driver = {
static void
iicsmb_identify(driver_t *driver, device_t parent)
{
- BUS_ADD_CHILD(parent, 0, "iicsmb", 0);
+ BUS_ADD_CHILD(parent, 0, "iicsmb", -1);
}
static int