am7xxx: don't use partial designated initializers
authorAntonio Ospite <ao2@ao2.it>
Thu, 8 May 2014 09:37:34 +0000 (11:37 +0200)
committerAntonio Ospite <ao2@ao2.it>
Thu, 8 May 2014 09:39:31 +0000 (11:39 +0200)
Compilers may warn about missing fields in initializers when more checks
are enabled with STRICT_COMPILATION_CHECKS=ON:

  .../src/am7xxx.c:1131:31: error: missing field 'direction' initializer [-Werror,-Wmissing-field-initializers]
          struct am7xxx_header h = { 0 };
                                       ^
  1 error generated.


No differences found