diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-12-23 05:00:57 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-12-23 05:00:57 +0000 |
commit | b7cfd627b311dd126369c4afa997c42e6f6d51fb (patch) | |
tree | c3c81296441970ae8d30ca865b09f62749a9c717 /cpukit/libi2c/libi2c.c | |
parent | 2008-12-22 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-b7cfd627b311dd126369c4afa997c42e6f6d51fb.tar.bz2 |
Add missing initializers.
Diffstat (limited to 'cpukit/libi2c/libi2c.c')
-rw-r--r-- | cpukit/libi2c/libi2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libi2c/libi2c.c b/cpukit/libi2c/libi2c.c index 64272ef5ae..2d54a640ed 100644 --- a/cpukit/libi2c/libi2c.c +++ b/cpukit/libi2c/libi2c.c @@ -113,12 +113,12 @@ static struct i2cbus volatile short waiting; volatile char started; char *name; -} busses[MAX_NO_BUSSES] = { { 0 } }; +} busses[MAX_NO_BUSSES] = { { 0, 0, 0, 0, 0 } }; static struct { rtems_libi2c_drv_t *drv; -} drvs[MAX_NO_DRIVERS] = { { 0} }; +} drvs[MAX_NO_DRIVERS] = { { 0 } }; static rtems_id libmutex = 0; |