diff options
author | Greg Kroah-Hartman <gregkh@google.com> | 2016-01-25 20:13:15 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-01-26 09:52:20 -0800 |
commit | 7030f9246b55b7c186bd4bd8217162874fe29002 (patch) | |
tree | 69cc94360ae3be60a018128c88538a1a848bb95e /drivers/staging/greybus/Makefile | |
parent | 839ac5b989fbfcc260d23ea4be9e3c8840e1c4e1 (diff) |
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>
Diffstat (limited to 'drivers/staging/greybus/Makefile')
-rw-r--r-- | drivers/staging/greybus/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/greybus/Makefile b/drivers/staging/greybus/Makefile index 1e45416a2796..870a7bb22d9e 100644 --- a/drivers/staging/greybus/Makefile +++ b/drivers/staging/greybus/Makefile @@ -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 |