greybus: Makefile: fix up build test for gb-audio-codec.ko
authorGreg Kroah-Hartman <gregkh@google.com>
Thu, 14 Jan 2016 00:18:36 +0000 (16:18 -0800)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 14 Jan 2016 00:18:36 +0000 (16:18 -0800)
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 <gregkh@google.com>
drivers/staging/greybus/Makefile

index 6759d684027ccc83048980038225cd4eb6d5e6ed..9364897585336d86ceaa8b719f72985750a24b3d 100644 (file)
@@ -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