]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
drivers/media/cec/cec-adap.c: fix build with gcc-4.4.4
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 13 Sep 2017 23:28:14 +0000 (16:28 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 14 Sep 2017 01:53:15 +0000 (18:53 -0700)
commitc848c49a62b37bfb426086e248810dbcb14b85ff
treedd03a5b7bcdff96e7e4d289c0f6bcaaa046fb1fc
parenta47f68d6a944113bdc8097db6f933c2e17c27bf9
drivers/media/cec/cec-adap.c: fix build with gcc-4.4.4

gcc-4.4.4 has issues with initialization of anonymous unions:

  drivers/media/cec/cec-adap.c: In function 'cec_queue_msg_fh':
  drivers/media/cec/cec-adap.c:184: error: unknown field 'lost_msgs' specified in initializer

work around this.

Fixes: 6b2bbb08747a5 ("media: cec: rework the cec event handling")
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/media/cec/cec-adap.c