WSL2-Linux-Kernel/drivers/media/platform/stm32
Dillon Min 147907e932 media: stm32-dma2d: fix compile errors when W=1
remove unused functions to avoid compile errors when W=1.

>> drivers/media/platform/stm32/dma2d/dma2d-hw.c:29:20:
	error: unused function 'reg_set' [-Werror,-Wunused-function]
	static inline void reg_set(void __iomem *base, u32 reg, u32 mask)

>> drivers/media/platform/stm32/dma2d/dma2d-hw.c:34:20:
	error: unused function 'reg_clear' [-Werror,-Wunused-function]
	static inline void reg_clear(void __iomem *base, u32 reg, u32 mask)

Fixes: bff6e3e2f4c9 ("media: stm32-dma2d: STM32 DMA2D driver")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Dillon Min <dillon.minfei@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-11-15 08:12:05 +00:00
..
dma2d media: stm32-dma2d: fix compile errors when W=1 2021-11-15 08:12:05 +00:00
Makefile media: stm32-dma2d: STM32 DMA2D driver 2021-11-15 08:11:33 +00:00
stm32-dcmi.c media: stm32: Potential NULL pointer dereference in dcmi_irq_thread() 2021-09-30 10:07:44 +02:00