Changeset 06a36cd1 in rtems for c/src/libchip/flash/am29lv160.c


Ignore:
Timestamp:
Jul 7, 2011, 10:15:25 PM (8 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
d90fef2
Parents:
0d23caa
Message:

2011-07-07 Joel Sherrill <joel.sherrill@…>

  • libchip/display/disp_hcms29xx.c, libchip/flash/am29lv160.c, libchip/i2c/i2c-2b-eeprom.c, libchip/i2c/i2c-ds1621.c, libchip/i2c/spi-flash-m25p40.c, libchip/i2c/spi-fram-fm25l256.c, libchip/i2c/spi-memdrv.c, libchip/rtc/ds1375.c: Eliminate use of GNU old-style field designator extension as recommended by clang.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/flash/am29lv160.c

    r0d23caa r06a36cd1  
    2929{
    3030  {
    31     count:   31,
    32     segment: 0,
    33     offset:  0x00000000,
    34     size:    RTEMS_FDISK_KBYTES (64)
    35   },
    36   {
    37     count:   1,
    38     segment: 31,
    39     offset:  0x001f0000,
    40     size:    RTEMS_FDISK_KBYTES (32)
    41   },
    42   {
    43     count:   2,
    44     segment: 32,
    45     offset:  0x001f8000,
    46     size:    RTEMS_FDISK_KBYTES (8)
    47   },
    48   {
    49     count:   1,
    50     segment: 34,
    51     offset:  0x001fc000,
    52     size:    RTEMS_FDISK_KBYTES (16)
     31    .count =   31,
     32    .segment = 0,
     33    .offset =  0x00000000,
     34    .size =    RTEMS_FDISK_KBYTES (64)
     35  },
     36  {
     37    .count =   1,
     38    .segment = 31,
     39    .offset =  0x001f0000,
     40    .size =    RTEMS_FDISK_KBYTES (32)
     41  },
     42  {
     43    .count =   2,
     44    .segment = 32,
     45    .offset =  0x001f8000,
     46    .size =    RTEMS_FDISK_KBYTES (8)
     47  },
     48  {
     49    .count =   1,
     50    .segment = 34,
     51    .offset =  0x001fc000,
     52    .size =    RTEMS_FDISK_KBYTES (16)
    5353  }
    5454};
     
    6060{
    6161  {
    62     count:   1,
    63     segment: 0,
    64     offset:  0x00000000,
    65     size:    RTEMS_FDISK_KBYTES (16)
    66   },
    67   {
    68     count:   2,
    69     segment: 1,
    70     offset:  0x00004000,
    71     size:    RTEMS_FDISK_KBYTES (8)
    72   },
    73   {
    74     count:   1,
    75     segment: 3,
    76     offset:  0x00008000,
    77     size:    RTEMS_FDISK_KBYTES (32)
    78   },
    79   {
    80     count:   31,
    81     segment: 4,
    82     offset:  0x00010000,
    83     size:    RTEMS_FDISK_KBYTES (64)
     62    .count =   1,
     63    .segment = 0,
     64    .offset =  0x00000000,
     65    .size =    RTEMS_FDISK_KBYTES (16)
     66  },
     67  {
     68  .  count =   2,
     69    .segment = 1,
     70    .offset =  0x00004000,
     71    .size =    RTEMS_FDISK_KBYTES (8)
     72  },
     73  {
     74    .count =   1,
     75    .segment = 3,
     76    .offset =  0x00008000,
     77    .size =    RTEMS_FDISK_KBYTES (32)
     78  },
     79  {
     80    .count =   31,
     81    .segment = 4,
     82    .offset =  0x00010000,
     83    .size =    RTEMS_FDISK_KBYTES (64)
    8484  }
    8585};
     
    466466const rtems_fdisk_driver_handlers rtems_am29lv160_handlers =
    467467{
    468   read:         rtems_am29lv160_read,
    469   write:        rtems_am29lv160_write,
    470   blank:        rtems_am29lv160_blank,
    471   verify:       rtems_am29lv160_verify,
    472   erase:        rtems_am29lv160_erase,
    473   erase_device: rtems_am29lv160_erase_device
     468  .read =         rtems_am29lv160_read,
     469  .write =        rtems_am29lv160_write,
     470  .blank =        rtems_am29lv160_blank,
     471  .verify =       rtems_am29lv160_verify,
     472  .erase =        rtems_am29lv160_erase,
     473  .erase_device = rtems_am29lv160_erase_device
    474474};
Note: See TracChangeset for help on using the changeset viewer.