6c54743645346960595a8f23e0c134852c40e934
[oweals/openwrt.git] /
1 From 2a5a03926a8c6ae7375355de00814234e4e303ed 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] 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