diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-07 15:21:24 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-07 15:21:24 +0300 |
commit | 25016567be26887232aa3f6fd0d0116356691cc3 (patch) | |
tree | be0475a2ecd4976885785590741f67faef00a883 /drivers/staging/media/atomisp/include | |
parent | 4452b090a18ead601e9e7c543c2f4acd5821d888 (diff) | |
download | linux-25016567be26887232aa3f6fd0d0116356691cc3.tar.xz |
staging: atomisp: fix include Makefile mess
Using LINUXINCLUDE is a very old hack, and doesn't play well with
building objects in a different directory than the kernel source is in.
So fix up the include file references to be relative to make it obvious
we are pulling in local include files, which need to get fixed up.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/media/atomisp/include')
-rw-r--r-- | drivers/staging/media/atomisp/include/linux/atomisp_gmin_platform.h | 2 | ||||
-rw-r--r-- | drivers/staging/media/atomisp/include/linux/intel_mid_pm.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/media/atomisp/include/linux/atomisp_gmin_platform.h b/drivers/staging/media/atomisp/include/linux/atomisp_gmin_platform.h index 623e7e2b2cd6..5390b97ac6e7 100644 --- a/drivers/staging/media/atomisp/include/linux/atomisp_gmin_platform.h +++ b/drivers/staging/media/atomisp/include/linux/atomisp_gmin_platform.h @@ -15,7 +15,7 @@ #ifndef ATOMISP_GMIN_PLATFORM_H_ #define ATOMISP_GMIN_PLATFORM_H_ -#include <linux/atomisp_platform.h> +#include "atomisp_platform.h" const struct atomisp_camera_caps *atomisp_get_default_camera_caps(void); const struct atomisp_platform_data *atomisp_get_platform_data(void); diff --git a/drivers/staging/media/atomisp/include/linux/intel_mid_pm.h b/drivers/staging/media/atomisp/include/linux/intel_mid_pm.h index b084d716a218..82f8b57b309f 100644 --- a/drivers/staging/media/atomisp/include/linux/intel_mid_pm.h +++ b/drivers/staging/media/atomisp/include/linux/intel_mid_pm.h @@ -17,7 +17,7 @@ #ifndef INTEL_MID_PM_H #define INTEL_MID_PM_H -#include <asm/intel-mid.h> +#include "../asm/intel-mid.h" #include <linux/init.h> #include <linux/pci.h> |