From: Greg Kroah-Hartman Date: Thu, 14 Jan 2016 00:18:36 +0000 (-0800) Subject: greybus: Makefile: fix up build test for gb-audio-codec.ko X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=86a685dd453547431794a5c332a9ed742916c9d4;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git greybus: Makefile: fix up build test for gb-audio-codec.ko We really only want to build the module if the config is set, not all the time like the current code does. Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/Makefile b/drivers/staging/greybus/Makefile index 6759d684027c..936489758533 100644 --- a/drivers/staging/greybus/Makefile +++ b/drivers/staging/greybus/Makefile @@ -46,7 +46,6 @@ obj-m += gb-hid.o obj-m += gb-raw.o obj-m += gb-es2.o obj-m += gb-arche.o -obj-m += gb-audio-codec.o ifeq ($(CONFIG_SND_SOC_DYNAMIC_DAILINK),y) obj-m += gb-audio-codec.o endif