]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
media: staging: media/atomisp: don't compile unused code
authorkarthik alapati <mail@karthek.com>
Sat, 20 Feb 2021 14:16:27 +0000 (15:16 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 23 Mar 2021 15:49:25 +0000 (16:49 +0100)
commit671779f665d9cfd2a1e45cad02e936bfa647d40b
tree9de06384e633f4986b910272dd9596f4e417030f
parent040b86483c63ef426ce0d6c0cd9f8352d3c2fdad
media: staging: media/atomisp: don't compile unused code

currently the functions defined in ibuf_ctrl_rmgr.c file are only
used by isys_init.c when CONFIG_VIDEO_ATOMISP_ISP2401 is selected
so dont't compile it when not needed, also fixes some sparse warnings

Link: https://lore.kernel.org/linux-media/YDEZu3oniT/vUMMY@karthik-strix-linux.karthek.com
Signed-off-by: karthik alapati <mail@karthek.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/Makefile