415cae1658c7b8783887108dd260e0c9cdd46a23
[openwrt/staging/blocktrron.git] /
1 From 5637bcfde5249644ccad8bd3c814a83e66012cf1 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/782] 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