b1cfe54ba636fac7ccd82152df3e4dbee67474f1
[openwrt/staging/mkresin.git] /
1 From e28f85053dc8de18935993bee4c9e5d9483787bd Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.org>
3 Date: Tue, 25 Sep 2018 16:57:40 +0100
4 Subject: [PATCH 271/725] staging: vc04_services: Fixup vchiq-mmal include
5 ordering
6
7 There were dependencies on including the headers in the correct
8 order. Fix up the headers so that they include the other
9 headers that they depend on themselves.
10
11 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
12 ---
13 drivers/staging/vc04_services/vchiq-mmal/mmal-msg.h | 1 +
14 drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.h | 1 +
15 2 files changed, 2 insertions(+)
16
17 --- a/drivers/staging/vc04_services/vchiq-mmal/mmal-msg.h
18 +++ b/drivers/staging/vc04_services/vchiq-mmal/mmal-msg.h
19 @@ -38,6 +38,7 @@
20 #include "mmal-msg-common.h"
21 #include "mmal-msg-format.h"
22 #include "mmal-msg-port.h"
23 +#include "mmal-vchiq.h"
24
25 enum mmal_msg_type {
26 MMAL_MSG_TYPE_QUIT = 1,
27 --- a/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.h
28 +++ b/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.h
29 @@ -16,6 +16,7 @@
30 #ifndef MMAL_VCHIQ_H
31 #define MMAL_VCHIQ_H
32
33 +#include "mmal-common.h"
34 #include "mmal-msg-format.h"
35
36 #define MAX_PORT_COUNT 4