media: vimc: Makefile: file cleanup
Remove redundant Makefile rules (vimc_capture-objs, ...). Stop exposing vimc-{common, streamer} as modules, since there's no use case where they would be individually added/removed from Vimc. As consequence, remove MODULE_ macros from vimc-{common, streamer}. `-objs` is fitted for building host programs, change to `-y`, more straightforward for device drivers. Signed-off-by: André Almeida <andrealmeid@collabora.com> Suggested-by: Helen Koike <helen.koike@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
9aa36e61dc
commit
d13b3cdcba
|
@ -1,11 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0
|
||||
vimc-objs := vimc-core.o
|
||||
vimc_capture-objs := vimc-capture.o
|
||||
vimc_common-objs := vimc-common.o
|
||||
vimc_debayer-objs := vimc-debayer.o
|
||||
vimc_scaler-objs := vimc-scaler.o
|
||||
vimc_sensor-objs := vimc-sensor.o
|
||||
vimc_streamer-objs := vimc-streamer.o
|
||||
vimc-y := vimc-core.o vimc-common.o vimc-streamer.o
|
||||
|
||||
obj-$(CONFIG_VIDEO_VIMC) += vimc.o vimc_capture.o vimc_common.o vimc-debayer.o \
|
||||
vimc_scaler.o vimc_sensor.o vimc_streamer.o
|
||||
obj-$(CONFIG_VIDEO_VIMC) += vimc.o vimc-capture.o vimc-debayer.o \
|
||||
vimc-scaler.o vimc-sensor.o
|
||||
|
|
|
@ -377,7 +377,3 @@ void vimc_ent_sd_unregister(struct vimc_ent_device *ved, struct v4l2_subdev *sd)
|
|||
v4l2_device_unregister_subdev(sd);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(vimc_ent_sd_unregister);
|
||||
|
||||
MODULE_DESCRIPTION("Virtual Media Controller Driver (VIMC) Common");
|
||||
MODULE_AUTHOR("Helen Koike <helen.fornazier@gmail.com>");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
|
|
@ -188,7 +188,3 @@ int vimc_streamer_s_stream(struct vimc_stream *stream,
|
|||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(vimc_streamer_s_stream);
|
||||
|
||||
MODULE_DESCRIPTION("Virtual Media Controller Driver (VIMC) Streamer");
|
||||
MODULE_AUTHOR("Lucas A. M. Magalhães <lucmaga@gmail.com>");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
|
Loading…
Reference in New Issue