]> git.baikalelectronics.ru Git - kernel.git/commit
staging: bcm2835-camera: Create struct mmal_es_format_local to mirror struct mmal_es_...
authorMichael Zoran <mzoran@crowfest.net>
Fri, 10 Mar 2017 05:08:50 +0000 (21:08 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2017 09:12:09 +0000 (10:12 +0100)
commite4febc757f78dbf97af0178bbe31124677384216
tree520b6f57653ddde8d2192a32632f9a0b790c8be7
parent5564a5775dfa2ebf61199b54f5d0b487b4118dae
staging: bcm2835-camera: Create struct mmal_es_format_local to mirror struct mmal_es_format

The struct struct mmal_es_format is passed between the firmware which has
pointers.  A local version of mmal_es_format is also used.

Luckly, the two versions are always memberwise copied from each other
so simply have different structures for the local and msg versions.

Signed-off-by: Michael Zoran <mzoran@crowfest.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c
drivers/staging/vc04_services/bcm2835-camera/mmal-msg-format.h
drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.h