diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-07-07 22:15:00 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-07-07 22:15:00 +0000 |
commit | 0d23caa93cec167b9d2ccb80c4709b9580e2205d (patch) | |
tree | fe7f45d7cba67c4c085067238d5f01fac014cf80 /cpukit/libi2c/libi2c.c | |
parent | 2011-07-07 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-0d23caa93cec167b9d2ccb80c4709b9580e2205d.tar.bz2 |
2011-07-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* libblock/src/nvdisk-sram.c, libi2c/libi2c.c,
libmisc/shell/main_msdosfmt.c: Eliminate use of GNU old-style field
designator extension as recommended by clang.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libi2c/libi2c.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/libi2c/libi2c.c b/cpukit/libi2c/libi2c.c index 1f88968aab..e622b2aa81 100644 --- a/cpukit/libi2c/libi2c.c +++ b/cpukit/libi2c/libi2c.c @@ -338,12 +338,12 @@ rtems_i2c_ioctl (rtems_device_major_number major, rtems_device_minor_number mino /* Our ops just dispatch to the registered drivers */ const rtems_driver_address_table rtems_libi2c_io_ops = { - initialization_entry: rtems_i2c_init, - open_entry: rtems_i2c_open, - close_entry: rtems_i2c_close, - read_entry: rtems_i2c_read, - write_entry: rtems_i2c_write, - control_entry: rtems_i2c_ioctl, + .initialization_entry = rtems_i2c_init, + .open_entry = rtems_i2c_open, + .close_entry = rtems_i2c_close, + .read_entry = rtems_i2c_read, + .write_entry = rtems_i2c_write, + .control_entry = rtems_i2c_ioctl, }; int |