From ea73ef74781b422fa3ce81e6752744a0c9c0c645 Mon Sep 17 00:00:00 2001 From: Stanislav Sedov Date: Tue, 5 Aug 2008 08:20:58 +0000 Subject: [PATCH] - Reflect changes in iic infrastructure. --- sys/dev/iicbus/ds1339.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/iicbus/ds1339.c b/sys/dev/iicbus/ds1339.c index bf7f420f81e8..6c7856eb53ff 100644 --- a/sys/dev/iicbus/ds1339.c +++ b/sys/dev/iicbus/ds1339.c @@ -76,7 +76,7 @@ ds1339_probe(device_t dev) int addr; sc = device_get_softc(dev); - iicbus_get_addr(dev, &addr); + addr = iicbus_get_addr(dev); if (addr != DS1339_ADDR) { if (bootverbose) device_printf(dev, "fixed I2C slave address should "