]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mtk-vcodec: Use designated initializers
authorKees Cook <keescook@chromium.org>
Sat, 6 May 2017 08:10:06 +0000 (01:10 -0700)
committerKees Cook <keescook@chromium.org>
Sun, 28 May 2017 17:23:02 +0000 (10:23 -0700)
commit243dd05d39aa14fac2ffde75cc66dee3270896f8
treee143810bc6c875af86d4f352f5ac8429c77b3de0
parent3ddd396f6b57cbd5cb034498b5c4cd3dd920cf15
mtk-vcodec: Use designated initializers

The randstruct plugin requires designated initializers for structures
that are entirely function pointers.

Cc: Wu-Cheng Li <wuchengli@chromium.org>
Cc: Tiffany Lin <tiffany.lin@mediatek.com>
Cc: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c
drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c
drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c