media: allegro: add helper to report unsupported fields

Allow generators to explicitly signal an error if the C structs contain
unsupported or invalid fields.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
Michael Tretter 2020-12-03 12:00:50 +01:00 • committed by Mauro Carvalho Chehab
commit 98c588b6d2
2 changed files with 6 additions and 0 deletions