Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: exynos4-is: Fix compile warning

Declare static on function 'fimc_isp_video_device_unregister'.

When VIDEO_EXYNOS4_ISP_DMA_CAPTURE=n, compiler warns about
warning: no previous prototype for function [-Wmissing-prototypes]

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>

authored by

Kwanghoon Son and committed by
Mauro Carvalho Chehab
e080f5c1 a76c86f4

+1 -1
+1 -1
drivers/media/platform/samsung/exynos4-is/fimc-isp-video.h
··· 32 32 return 0; 33 33 } 34 34 35 - void fimc_isp_video_device_unregister(struct fimc_isp *isp, 35 + static inline void fimc_isp_video_device_unregister(struct fimc_isp *isp, 36 36 enum v4l2_buf_type type) 37 37 { 38 38 }