Skip to content

Commit

Permalink
media: exynos4-is: Fix compile warning
Browse files Browse the repository at this point in the history
[ Upstream commit e080f5c ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
KwangSon authored and gregkh committed Jun 9, 2022
1 parent 660dfa0 commit 16cae5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/platform/exynos4-is/fimc-isp-video.h
Expand Up @@ -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)
{
}
Expand Down

0 comments on commit 16cae5d

Please sign in to comment.