1
0
Fork 0

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>
hifive-unleashed-5.1
Masahiro Yamada 2019-01-30 11:52:31 +09:00 committed by Alex Williamson
parent 278bca7f31
commit 3c8d7ef89b
4 changed files with 3 additions and 5 deletions

View File

@ -2,8 +2,6 @@
vfio-platform-calxedaxgmac-y := vfio_platform_calxedaxgmac.o
vfio-platform-amdxgbe-y := vfio_platform_amdxgbe.o
ccflags-y += -Idrivers/vfio/platform
obj-$(CONFIG_VFIO_PLATFORM_CALXEDAXGMAC_RESET) += vfio-platform-calxedaxgmac.o
obj-$(CONFIG_VFIO_PLATFORM_AMDXGBE_RESET) += vfio-platform-amdxgbe.o
obj-$(CONFIG_VFIO_PLATFORM_BCMFLEXRM_RESET) += vfio_platform_bcmflexrm.o

View File

@ -25,7 +25,7 @@
#include <uapi/linux/mdio.h>
#include <linux/delay.h>
#include "vfio_platform_private.h"
#include "../vfio_platform_private.h"
#define DMA_MR 0x3000
#define MAC_VR 0x0110

View File

@ -23,7 +23,7 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include "vfio_platform_private.h"
#include "../vfio_platform_private.h"
/* FlexRM configuration */
#define RING_REGS_SIZE 0x10000

View File

@ -24,7 +24,7 @@
#include <linux/init.h>
#include <linux/io.h>
#include "vfio_platform_private.h"
#include "../vfio_platform_private.h"
#define DRIVER_VERSION "0.1"
#define DRIVER_AUTHOR "Eric Auger <eric.auger@linaro.org>"