diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2019-05-02 16:42:31 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-05-28 19:15:46 +0300 |
commit | c612e54fca55d9380c1378eaa623d74ed89b62db (patch) | |
tree | a4407330bf7e2844619217dc012cc8acc66b7034 /drivers/media/mc/Makefile | |
parent | 03006bd0880ad23600eff76f7c6b7eb8c87fe3d7 (diff) | |
download | linux-c612e54fca55d9380c1378eaa623d74ed89b62db.tar.xz |
media: move drivers/media/media-* to drivers/media/mc/mc-*
It is really weird that the media controller sources are all top-level
in drivers/media. It is a bit of a left-over from long ago when most
media sources were all at the top-level. At some point we reorganized
the directory structure, but the media-*.c sources where never moved
to their own directory.
So create a new mc directory and move all sources there. Also rename
the prefix from media- to mc-.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/mc/Makefile')
-rw-r--r-- | drivers/media/mc/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/media/mc/Makefile b/drivers/media/mc/Makefile new file mode 100644 index 000000000000..119037f0e686 --- /dev/null +++ b/drivers/media/mc/Makefile @@ -0,0 +1,10 @@ +# SPDX-License-Identifier: GPL-2.0 + +mc-objs := mc-device.o mc-devnode.o mc-entity.o \ + mc-request.o + +ifeq ($(CONFIG_USB),y) + mc-objs += mc-dev-allocator.o +endif + +obj-$(CONFIG_MEDIA_SUPPORT) += mc.o |