aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h
diff options
context:
space:
mode:
authorMichael Zoran <mzoran@crowfest.net>2017-03-09 21:08:51 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-10 10:12:09 +0100
commit4fe08093094e5f6b360f143a299f46ac551695dd (patch)
treefaea4563d7e5ba0f1d6fcca1c553e833ac19bc41 /drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h
parentstaging: bcm2835-camera: Create struct mmal_es_format_local to mirror struct mmal_es_format (diff)
downloadlinux-dev-4fe08093094e5f6b360f143a299f46ac551695dd.tar.xz
linux-dev-4fe08093094e5f6b360f143a299f46ac551695dd.zip
staging: bcm2835-camera: Convert client_component field to u32
In the messages passed back and forth between the camera and the firmware, a client_component field is passed. This is a pointer to a structure that represents part of the camera. Luckly, it's only used for debug logging, so simply convert it to a u32. 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-msg.h')
-rw-r--r--drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h b/drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h
index e697425f60c4..729402c14780 100644
--- a/drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h
+++ b/drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h
@@ -101,7 +101,7 @@ struct mmal_msg_version {
/* request to VC to create component */
struct mmal_msg_component_create {
- void *client_component; /* component context */
+ u32 client_component; /* component context */
char name[128];
u32 pid; /* For debug */
};
@@ -339,7 +339,7 @@ struct mmal_msg_port_parameter_get_reply {
#define MMAL_WORKER_EVENT_SPACE 256
struct mmal_msg_event_to_host {
- void *client_component; /* component context */
+ u32 client_component; /* component context */
u32 port_type;
u32 port_num;