staging: mmal-vchiq: Fixup vchiq-mmal include ordering
authorDave Stevenson <dave.stevenson@raspberrypi.org>
Mon, 29 Jun 2020 15:09:01 +0000 (17:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Jul 2020 13:45:22 +0000 (15:45 +0200)
There were dependencies on including the headers in the correct
order. Fix up the headers so that they include the other
headers that they depend on themselves.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Link: https://lore.kernel.org/r/20200629150945.10720-4-nsaenzjulienne@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/vchiq-mmal/mmal-msg.h
drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.h

index 43cc59316f90a0344f1b4bf2b5074aaf36cf7a37..91f9b400d8dc8e54aaae981729efd925053b80d9 100644 (file)
@@ -38,6 +38,7 @@
 #include "mmal-msg-common.h"
 #include "mmal-msg-format.h"
 #include "mmal-msg-port.h"
+#include "mmal-vchiq.h"
 
 enum mmal_msg_type {
        MMAL_MSG_TYPE_QUIT = 1,
index cca7289761c2aa716d325a1671acfff08cae6662..df608585063bc03a5a45b977622fbfee7b277456 100644 (file)
@@ -16,6 +16,7 @@
 #ifndef MMAL_VCHIQ_H
 #define MMAL_VCHIQ_H
 
+#include "mmal-common.h"
 #include "mmal-msg-format.h"
 
 #define MAX_PORT_COUNT 4