summaryrefslogtreecommitdiff
path: root/drivers/media/cec/Makefile
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-04-15 10:43:44 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-04-15 11:44:05 +0200
commitde73b88c7ca1f3b214ba135d100afad42ddf7a2a (patch)
treebf044bda7dbaf41f62696e6a39e8d56e8501753e /drivers/media/cec/Makefile
parent8e5b5d75e9d0a6d75e554047ad5c8d2c935447d4 (diff)
media: cec: move the core to a separate directory
In preparation for moving CEC drivers to the CEC directory, move the core to a separate place. Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/cec/Makefile')
-rw-r--r--drivers/media/cec/Makefile16
1 files changed, 1 insertions, 15 deletions
diff --git a/drivers/media/cec/Makefile b/drivers/media/cec/Makefile
index ad8677d8c896..3fdbc22b1530 100644
--- a/drivers/media/cec/Makefile
+++ b/drivers/media/cec/Makefile
@@ -1,16 +1,2 @@
# SPDX-License-Identifier: GPL-2.0
-cec-objs := cec-core.o cec-adap.o cec-api.o
-
-ifeq ($(CONFIG_CEC_NOTIFIER),y)
- cec-objs += cec-notifier.o
-endif
-
-ifeq ($(CONFIG_CEC_PIN),y)
- cec-objs += cec-pin.o
-endif
-
-ifeq ($(CONFIG_CEC_PIN_ERROR_INJ),y)
- cec-objs += cec-pin-error-inj.o
-endif
-
-obj-$(CONFIG_CEC_CORE) += cec.o
+obj-y += core/