media: staging: media: zoran: setup videocodec header for debugging macros
authorIan Cowan <ian@linux.cowan.aero>
Fri, 6 May 2022 05:28:19 +0000 (06:28 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 20 Jun 2022 09:30:29 +0000 (10:30 +0100)
commitcc86485849f9df574bef0d8cc82f264358fbfece
treefd5f8ce80e91d706d39b01e562384f8761f5fa9c
parentf3805c32ddd18ed494e8ab300fca7de208577682
media: staging: media: zoran: setup videocodec header for debugging macros

This adds inline functions in the videocodec header file to convert the
videocodec and videocodec_master structs to their respective contained
zoran struct. This will be used to pass the zoran struct to the
zrdev_XXX() macros defined in the zoran header.

In the zoran header, the new include is added to ensure all variables
can be completely defined with the zoran and videocodec includes where
they are located.

Signed-off-by: Ian Cowan <ian@linux.cowan.aero>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/zoran/videocodec.h
drivers/staging/media/zoran/zoran.h