greybus: camera: only build module against msm kernel

The camera driver currently does not build against anything other than
the msm kernel, due to cross-dependancies, so enable that here so that
we can build against other kernels without failing the build.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Tested-by: Marti Bolivar <mbolivar@leaflabs.com>
Acked-by: Laurent Pinchart <laurent.pinchart@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman 2016-01-25 20:13:15 -08:00
parent 839ac5b989
commit 7030f9246b
1 changed files with 3 additions and 1 deletions

View File

@ -51,7 +51,9 @@ obj-m += gb-arche.o
ifeq ($(CONFIG_SND_SOC_DYNAMIC_DAILINK),y)
obj-m += gb-audio-codec.o
endif
obj-m += gb-camera.o
ifeq ($(CONFIG_ARCH_MSM8994),y)
obj-m += gb-camera.o
endif
obj-m += gb-audio-gb.o
obj-m += gb-audio-apbridgea.o
obj-m += gb-audio-manager.o