aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKwanghoon Son <[email protected]>2022-04-27 03:16:45 +0200
committerMauro Carvalho Chehab <[email protected]>2022-05-17 09:15:47 +0200
commite080f5c1f2b6d02c02ee5d674e0e392ccf63bbaf (patch)
treec8685e804151531ed764d358cb48c9bd8208d050
parenta76c86f4274e224ea8e85f284d0371442f78b13a (diff)
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 <[email protected]> Signed-off-by: Kwanghoon Son <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
-rw-r--r--drivers/media/platform/samsung/exynos4-is/fimc-isp-video.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/samsung/exynos4-is/fimc-isp-video.h b/drivers/media/platform/samsung/exynos4-is/fimc-isp-video.h
index edcb3a5e3cb9..2dd4ddbc748a 100644
--- a/drivers/media/platform/samsung/exynos4-is/fimc-isp-video.h
+++ b/drivers/media/platform/samsung/exynos4-is/fimc-isp-video.h
@@ -32,7 +32,7 @@ static inline int fimc_isp_video_device_register(struct fimc_isp *isp,
return 0;
}
-void fimc_isp_video_device_unregister(struct fimc_isp *isp,
+static inline void fimc_isp_video_device_unregister(struct fimc_isp *isp,
enum v4l2_buf_type type)
{
}