Commit e080f5c1 authored by Kwanghoon Son's avatar Kwanghoon Son Committed by Mauro Carvalho Chehab
Browse files

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: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarKwanghoon Son <k.son@samsung.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent a76c86f4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
{
}