summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.h
diff options
context:
space:
mode:
authorMichael Zoran <mzoran@crowfest.net>2017-03-09 21:08:50 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-10 10:12:09 +0100
commitad428fc0af2eed6f2fe7fa51a7ffca5746cef1a3 (patch)
tree520b6f57653ddde8d2192a32632f9a0b790c8be7 /drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.h
parent4da14d5922e99dbbd609a85b18f84c32d1c27a57 (diff)
downloadlinux-ad428fc0af2eed6f2fe7fa51a7ffca5746cef1a3.tar.bz2
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>
Diffstat (limited to 'drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.h')
-rw-r--r--drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.h b/drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.h
index 23079977a686..2842ac960c4a 100644
--- a/drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.h
+++ b/drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.h
@@ -74,7 +74,7 @@ struct vchiq_mmal_port {
struct vchiq_mmal_port_buffer current_buffer;
/* stream format */
- struct mmal_es_format format;
+ struct mmal_es_format_local format;
/* elementry stream format */
union mmal_es_specific_format es;