Skip to contentSkip to conversation

staging: vc04_services: remove header include path to vc04_services

PATCH New Masahiro Yamada 1 participant 1 message Jan 10, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 staging: vc04_services: remove header include path to vc04_services

Fix up some relative paths in #include "..." directives, and remove the include path to drivers/staging/vc04_services.

---

Changes in v2:
- fix up some relative paths.
I tested with/without O= option this time.

 drivers/staging/vc04_services/Makefile                        | 2 +-
 drivers/staging/vc04_services/interface/vchi/vchi.h           | 4 ++--
 .../staging/vc04_services/interface/vchiq_arm/vchiq_shim.c    | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
drivers/staging/vc04_services/Makefile +1 -1
index afe43fa5a6d7..54d9e2f31916 100644
@@ -13,5 +13,5 @@ vchiq-objs := \
 obj-$(CONFIG_SND_BCM2835)	+= bcm2835-audio/
 obj-$(CONFIG_VIDEO_BCM2835)	+= bcm2835-camera/
 
-ccflags-y += -Idrivers/staging/vc04_services -D__VCCOREVER__=0x04000000
+ccflags-y += -D__VCCOREVER__=0x04000000
 
drivers/staging/vc04_services/interface/vchi/vchi.h +2 -2
index 56b1037d8e25..ff2b960d8cac 100644
@@ -4,8 +4,8 @@
 #ifndef VCHI_H_
 #define VCHI_H_
 
-#include "interface/vchi/vchi_cfg.h"
-#include "interface/vchi/vchi_common.h"
+#include "vchi_cfg.h"
+#include "vchi_common.h"
 
 /******************************************************************************
  * Global defs
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c +1 -1
index 0ce3b08b3441..efdd3b1c7d85 100644
@@ -3,7 +3,7 @@
 #include <linux/module.h>
 #include <linux/types.h>
 
-#include "interface/vchi/vchi.h"
+#include "../vchi/vchi.h"
 #include "vchiq.h"
 #include "vchiq_core.h"
 
Signature · 7 lines
2.17.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel