[PATCH 03/10] staging: bcm2835-camera: Convert delayed_buffer to u32
Michael Zoran
mzoran at crowfest.net
Thu Mar 9 21:08:52 PST 2017
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 at crowfest.net>
---
drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h b/drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h
index 729402c14780..68e40cbab165 100644
--- a/drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h
+++ b/drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h
@@ -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 */
--
2.11.0
More information about the linux-rpi-kernel
mailing list