diff options
author | Michael Zoran <mzoran@crowfest.net> | 2017-03-10 08:08:53 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-10 12:12:09 +0300 |
commit | 7beb354f8560d8c3ce035af4013e035ac06196c2 (patch) | |
tree | 91a66790e58a34be7ecbba5408f64026d475e88c /drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h | |
parent | c45fe9c65742a75b6fada7a2153aa2f8bea0d6dd (diff) | |
download | linux-7beb354f8560d8c3ce035af4013e035ac06196c2.tar.xz |
staging: bcm2835-camera: Convert client_context field to a 32 bit handle
The client_context field is passed around which is really just a pointer
to a msg_context. A lookup table mechanism for msg_context was added
previously, so convert this field to a handle as well.
The firmware never interperates the client_context, just passed it back.
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h b/drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h index 68e40cbab165..5d0de86f6c2b 100644 --- a/drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h +++ b/drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h @@ -250,7 +250,7 @@ struct mmal_driver_buffer { u32 magic; u32 component_handle; u32 port_handle; - void *client_context; + u32 client_context; }; /* buffer header */ |