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/ov8858.c | |
parent | 4452b090a18ead601e9e7c543c2f4acd5821d888 (diff) | |
download | op-kernel-dev-25016567be26887232aa3f6fd0d0116356691cc3.zip op-kernel-dev-25016567be26887232aa3f6fd0d0116356691cc3.tar.gz |
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/ov8858.c')
-rw-r--r-- | drivers/staging/media/atomisp/i2c/ov8858.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/atomisp/i2c/ov8858.c b/drivers/staging/media/atomisp/i2c/ov8858.c index f218494..cc7da2a 100644 --- a/drivers/staging/media/atomisp/i2c/ov8858.c +++ b/drivers/staging/media/atomisp/i2c/ov8858.c @@ -23,7 +23,7 @@ #include <linux/module.h> #include <media/v4l2-device.h> #include <linux/acpi.h> -#include <linux/atomisp_gmin_platform.h> +#include "../include/linux/atomisp_gmin_platform.h" #ifdef CONFIG_PLATFORM_BTNS #include "ov8858_btns.h" #else |