Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpu: host1x: Use relative include paths

This is slightly safer than adding -Idrivers/gpu/host1x to cflags-y.

Signed-off-by: Thierry Reding <treding@nvidia.com>

+24 -26
-2
drivers/gpu/host1x/Makefile
··· 1 - ccflags-y = -Idrivers/gpu/host1x 2 - 3 1 host1x-y = \ 4 2 bus.o \ 5 3 syncpt.o \
+4 -4
drivers/gpu/host1x/hw/cdma_hw.c
··· 20 20 #include <linux/scatterlist.h> 21 21 #include <linux/dma-mapping.h> 22 22 23 - #include "cdma.h" 24 - #include "channel.h" 25 - #include "dev.h" 26 - #include "debug.h" 23 + #include "../cdma.h" 24 + #include "../channel.h" 25 + #include "../dev.h" 26 + #include "../debug.h" 27 27 28 28 /* 29 29 * Put the restart at the end of pushbuffer memor
+4 -4
drivers/gpu/host1x/hw/channel_hw.c
··· 21 21 22 22 #include <trace/events/host1x.h> 23 23 24 - #include "channel.h" 25 - #include "dev.h" 26 - #include "intr.h" 27 - #include "job.h" 24 + #include "../channel.h" 25 + #include "../dev.h" 26 + #include "../intr.h" 27 + #include "../job.h" 28 28 29 29 #define HOST1X_CHANNEL_SIZE 16384 30 30 #define TRACE_MAX_LENGTH 128U
+4 -4
drivers/gpu/host1x/hw/debug_hw.c
··· 15 15 * 16 16 */ 17 17 18 - #include "dev.h" 19 - #include "debug.h" 20 - #include "cdma.h" 21 - #include "channel.h" 18 + #include "../dev.h" 19 + #include "../debug.h" 20 + #include "../cdma.h" 21 + #include "../channel.h" 22 22 23 23 #define HOST1X_DEBUG_MAX_PAGE_OFFSET 102400 24 24
+8 -8
drivers/gpu/host1x/hw/host1x01.c
··· 17 17 */ 18 18 19 19 /* include hw specification */ 20 - #include "hw/host1x01.h" 21 - #include "hw/host1x01_hardware.h" 20 + #include "host1x01.h" 21 + #include "host1x01_hardware.h" 22 22 23 23 /* include code */ 24 - #include "hw/cdma_hw.c" 25 - #include "hw/channel_hw.c" 26 - #include "hw/debug_hw.c" 27 - #include "hw/intr_hw.c" 28 - #include "hw/syncpt_hw.c" 24 + #include "cdma_hw.c" 25 + #include "channel_hw.c" 26 + #include "debug_hw.c" 27 + #include "intr_hw.c" 28 + #include "syncpt_hw.c" 29 29 30 - #include "dev.h" 30 + #include "../dev.h" 31 31 32 32 int host1x01_init(struct host1x *host) 33 33 {
+2 -2
drivers/gpu/host1x/hw/intr_hw.c
··· 22 22 #include <linux/io.h> 23 23 #include <asm/mach/irq.h> 24 24 25 - #include "intr.h" 26 - #include "dev.h" 25 + #include "../intr.h" 26 + #include "../dev.h" 27 27 28 28 /* 29 29 * Sync point threshold interrupt service function
+2 -2
drivers/gpu/host1x/hw/syncpt_hw.c
··· 18 18 19 19 #include <linux/io.h> 20 20 21 - #include "dev.h" 22 - #include "syncpt.h" 21 + #include "../dev.h" 22 + #include "../syncpt.h" 23 23 24 24 /* 25 25 * Write the current syncpoint value back to hw.