diff options
author | Stanislav Sedov <stas@FreeBSD.org> | 2008-08-05 08:20:58 +0000 |
---|---|---|
committer | Stanislav Sedov <stas@FreeBSD.org> | 2008-08-05 08:20:58 +0000 |
commit | ea73ef74781b422fa3ce81e6752744a0c9c0c645 (patch) | |
tree | 043a6c572649fa144c3e8bacc740cf92635084d4 /sys/dev/iicbus | |
parent | 0d724b8765bfd296bdb38a566b39cfb51317f8db (diff) | |
download | src-ea73ef74781b422fa3ce81e6752744a0c9c0c645.tar.gz src-ea73ef74781b422fa3ce81e6752744a0c9c0c645.zip |
- Reflect changes in iic infrastructure.
Notes
Notes:
svn path=/head/; revision=181324
Diffstat (limited to 'sys/dev/iicbus')
-rw-r--r-- | sys/dev/iicbus/ds1339.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 " |