diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-07 13:21:24 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-07 13:21:24 +0100 |
commit | 25016567be26887232aa3f6fd0d0116356691cc3 (patch) | |
tree | be0475a2ecd4976885785590741f67faef00a883 /drivers/staging/media/atomisp/i2c/ov2680.h | |
parent | 4452b090a18ead601e9e7c543c2f4acd5821d888 (diff) |
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/i2c/ov2680.h')
-rw-r--r-- | drivers/staging/media/atomisp/i2c/ov2680.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/atomisp/i2c/ov2680.h b/drivers/staging/media/atomisp/i2c/ov2680.h index 5ee2cfcc1684..944fe8e3bcbf 100644 --- a/drivers/staging/media/atomisp/i2c/ov2680.h +++ b/drivers/staging/media/atomisp/i2c/ov2680.h @@ -33,7 +33,7 @@ #include <linux/v4l2-mediabus.h> #include <media/media-entity.h> -#include <linux/atomisp_platform.h> +#include "../include/linux/atomisp_platform.h" #define OV2680_NAME "ov2680" #define OV2680B_NAME "ov2680b" |