OSDN Git Service

staging: bcm2835-camera: Convert delayed_buffer to u32
authorMichael Zoran <mzoran@crowfest.net>
Fri, 10 Mar 2017 05:08:52 +0000 (21:08 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2017 09:12:09 +0000 (10:12 +0100)
A delayed buffer field is passed between the firmware and the
kernel.  This field is never used either so it's safe to
change it to a u32.

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

index 729402c..68e40cb 100644 (file)
@@ -347,7 +347,7 @@ struct mmal_msg_event_to_host {
        u32 cmd;
        u32 length;
        u8 data[MMAL_WORKER_EVENT_SPACE];
-       struct mmal_buffer_header *delayed_buffer;
+       u32 delayed_buffer;
 };
 
 /* all mmal messages are serialised through this structure */