staging: bcm2835-v4l: remove incorrect include path
authorArnd Bergmann <arnd@arndb.de>
Wed, 1 Feb 2017 16:15:06 +0000 (17:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Feb 2017 12:01:32 +0000 (13:01 +0100)
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 <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/platform/bcm2835/Makefile

index d7900a5951a8142af03be00fb5ddd164094b87cc..8307f30517d537780b9329bb116bf362bb789716 100644 (file)
@@ -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