From: Arnd Bergmann Date: Wed, 1 Feb 2017 16:15:06 +0000 (+0100) Subject: staging: bcm2835-v4l: remove incorrect include path X-Git-Tag: v4.11-rc1~116^2~220 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3ad13763b5f4db9b8310ebd857136479c94413e5;p=platform%2Fkernel%2Flinux-exynos.git staging: bcm2835-v4l: remove incorrect include path The driver introduces a new instance of the missing-include-dirs warning that is enabled at the "make W=1" level but has no other output: cc1: error: drivers/staging/vc04_services/interface/vcos/linuxkernel: No such file or directory [-Werror=missing-include-dirs] cc1: all warnings being treated as errors scripts/Makefile.build:307: recipe for target 'drivers/staging/media/platform/bcm2835/bcm2835-camera.o' failed In order to let us enable the warning by default in the future, we should just remove the incorrect argument here. Fixes: 97b35807cc4d ("staging: bcm2835-v4l2: Add a build system for the module.") Signed-off-by: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/media/platform/bcm2835/Makefile b/drivers/staging/media/platform/bcm2835/Makefile index d7900a5..8307f30 100644 --- a/drivers/staging/media/platform/bcm2835/Makefile +++ b/drivers/staging/media/platform/bcm2835/Makefile @@ -7,5 +7,4 @@ obj-$(CONFIG_VIDEO_BCM2835) += bcm2835-v4l2.o ccflags-y += \ -Idrivers/staging/vc04_services \ - -Idrivers/staging/vc04_services/interface/vcos/linuxkernel \ -D__VCCOREVER__=0x04000000