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

vfio: platform: reset: fix up include directives to remove ccflags-y

For the include directive with double-quotes "", the preprocessor
searches the header in the relative path to the current file.

Fix them up, and remove the header search path option.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>

authored by

Masahiro Yamada and committed by
Alex Williamson
3c8d7ef8 278bca7f

+3 -5
-2
drivers/vfio/platform/reset/Makefile
··· 2 2 vfio-platform-calxedaxgmac-y := vfio_platform_calxedaxgmac.o 3 3 vfio-platform-amdxgbe-y := vfio_platform_amdxgbe.o 4 4 5 - ccflags-y += -Idrivers/vfio/platform 6 - 7 5 obj-$(CONFIG_VFIO_PLATFORM_CALXEDAXGMAC_RESET) += vfio-platform-calxedaxgmac.o 8 6 obj-$(CONFIG_VFIO_PLATFORM_AMDXGBE_RESET) += vfio-platform-amdxgbe.o 9 7 obj-$(CONFIG_VFIO_PLATFORM_BCMFLEXRM_RESET) += vfio_platform_bcmflexrm.o
+1 -1
drivers/vfio/platform/reset/vfio_platform_amdxgbe.c
··· 25 25 #include <uapi/linux/mdio.h> 26 26 #include <linux/delay.h> 27 27 28 - #include "vfio_platform_private.h" 28 + #include "../vfio_platform_private.h" 29 29 30 30 #define DMA_MR 0x3000 31 31 #define MAC_VR 0x0110
+1 -1
drivers/vfio/platform/reset/vfio_platform_bcmflexrm.c
··· 23 23 #include <linux/kernel.h> 24 24 #include <linux/module.h> 25 25 26 - #include "vfio_platform_private.h" 26 + #include "../vfio_platform_private.h" 27 27 28 28 /* FlexRM configuration */ 29 29 #define RING_REGS_SIZE 0x10000
+1 -1
drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c
··· 24 24 #include <linux/init.h> 25 25 #include <linux/io.h> 26 26 27 - #include "vfio_platform_private.h" 27 + #include "../vfio_platform_private.h" 28 28 29 29 #define DRIVER_VERSION "0.1" 30 30 #define DRIVER_AUTHOR "Eric Auger <eric.auger@linaro.org>"