linux/drivers/media/platform
Eugen Hristev f1de1c7803 media: atmel: fix build when ISC=m and XISC=y
Building VIDEO_ATMEL_ISC as module and VIDEO_ATMEL_XISC as built-in
(or viceversa) causes build errors:

 or1k-linux-ld: drivers/media/platform/atmel/atmel-isc-base.o: in function `isc_async_complete':
 atmel-isc-base.c:(.text+0x40d0): undefined reference to `__this_module'
 or1k-linux-ld: atmel-isc-base.c:(.text+0x40f0): undefined reference to `__this_module'
 or1k-linux-ld: drivers/media/platform/atmel/atmel-isc-base.o:(.rodata+0x390): undefined reference to `__this_module'
 or1k-linux-ld: drivers/media/platform/atmel/atmel-isc-base.o:(__param+0x4): undefined reference to `__this_module'
 or1k-linux-ld: drivers/media/platform/atmel/atmel-isc-base.o:(__param+0x18): undefined reference to `__this_module'

This is caused by the file atmel-isc-base.c which is common code between
the two drivers.

The solution is to create another Kconfig symbol that is automatically
selected and generates the module atmel-isc-base.ko. This module can be
loaded when both drivers are modules, or built-in when at least one of them
is built-in.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: c9aa973884 ("media: atmel: atmel-isc: add microchip-xisc driver")
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-07-30 13:01:52 +02:00
..
allegro-dvt media: allegro-dvt: avoid EN DASH char 2021-06-04 08:10:07 +02:00
am437x media: am437x: fix pm_runtime_get_sync() usage count 2021-05-10 11:36:33 +02:00
atmel media: atmel: fix build when ISC=m and XISC=y 2021-07-30 13:01:52 +02:00
cadence media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
coda media: coda: set debugfs blobs to read only 2021-06-17 10:20:06 +02:00
davinci media: subdev: disallow ioctl for saa6588/davinci 2021-06-17 10:18:37 +02:00
exynos-gsc media: exynos-gsc: fix pm_runtime_get_sync() usage count 2021-05-10 11:36:34 +02:00
exynos4-is media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
imx-jpeg media: imx-jpeg: Constify static struct mxc_jpeg_fmt 2021-06-17 10:24:09 +02:00
marvell-ccic media: marvell-ccic: set error code in probe 2021-06-17 10:21:24 +02:00
meson/ge2d media: meson-ge2d: fix rotation parameters 2021-04-15 13:19:28 +02:00
mtk-jpeg media: mtk-jpeg: use pm_runtime_resume_and_get() 2021-05-19 09:51:42 +02:00
mtk-mdp media: mdk-mdp: fix pm_runtime_get_sync() usage count 2021-05-10 11:36:33 +02:00
mtk-vcodec media: mtk-vcodec: fix kerneldoc warnings 2021-06-17 10:25:59 +02:00
mtk-vpu media: mtk-vpu: on suspend, read/write regs only if vpu is running 2021-06-28 15:17:42 +02:00
omap media: videobuf2: Move frame_vector into media subsystem 2021-01-12 14:15:31 +01:00
omap3isp media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
qcom media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
rcar-vin media: rcar-csi2: Add support for Y10 and Y8 2021-06-17 10:23:18 +02:00
rockchip media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
s3c-camif media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
s5p-g2d media: s5p-g2d: Fix a memory leak on ctx->fh.m2m_ctx 2021-06-17 10:21:51 +02:00
s5p-jpeg media: s5p-jpeg: fix pm_runtime_get_sync() usage count 2021-05-10 11:36:34 +02:00
s5p-mfc media: s5p-mfc: Fix display delay control creation 2021-06-28 15:17:42 +02:00
sti media: st-hva: Fix potential NULL pointer dereferences 2021-06-02 14:05:00 +02:00
stm32 media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
sunxi media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
ti-vpe media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
vsp1 media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
xilinx media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
aspeed-video.c media: aspeed: fix clock handling logic 2021-03-11 11:59:45 +01:00
fsl-viu.c media: use getter/setter functions 2021-03-11 11:59:42 +01:00
imx-pxp.c media: imx-pxp: remove redundant dev_err call in pxp_probe() 2021-04-06 16:09:00 +02:00
imx-pxp.h
Kconfig media: venus : hfi: add venus image info into smem 2021-04-15 13:14:09 +02:00
m2m-deinterlace.c media: media/platform: rename VFL_TYPE_GRABBER to _VIDEO 2020-02-24 16:54:14 +01:00
Makefile media: atmel: atmel-isc: add microchip-xisc driver 2021-06-08 15:46:31 +02:00
mx2_emmaprp.c media: mx2_emmaprp: Fix memleak in emmaprp_probe 2020-09-26 10:15:39 +02:00
pxa_camera.c media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
rcar-fcp.c media: rcar-fcp: use pm_runtime_resume_and_get() 2021-05-20 16:02:36 +02:00
rcar_drif.c Revert "media: rcar_drif: fix a memory disclosure" 2021-05-13 17:29:55 +02:00
rcar_fdp1.c media: rcar_fdp1: fix pm_runtime_get_sync() usage count 2021-05-10 11:36:33 +02:00
rcar_jpu.c media: drivers/media/platform/Rcar_jpu.c : fix typo issues 2021-06-02 14:06:51 +02:00
renesas-ceu.c media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
sh_vou.c media: sh_vou: fix pm_runtime_get_sync() usage count 2021-05-10 11:36:34 +02:00
via-camera.c media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
via-camera.h
video-mux.c media: video-mux: Skip dangling endpoints 2021-06-28 15:17:42 +02:00