mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
media: s5p-jpeg: don't return a value on a void function
Building this driver on arm64 gives this warning: drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c:430:16: error: return expression in void function Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Reviewed-by: Jacek Anaszewski <jacek.anaszewski@gmail.com> Acked-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
5ef76cb7c1
commit
de6dddffec
1 changed files with 2 additions and 2 deletions
|
@ -425,9 +425,9 @@ unsigned int exynos3250_jpeg_get_int_status(void __iomem *regs)
|
|||
}
|
||||
|
||||
void exynos3250_jpeg_clear_int_status(void __iomem *regs,
|
||||
unsigned int value)
|
||||
unsigned int value)
|
||||
{
|
||||
return writel(value, regs + EXYNOS3250_JPGINTST);
|
||||
writel(value, regs + EXYNOS3250_JPGINTST);
|
||||
}
|
||||
|
||||
unsigned int exynos3250_jpeg_operating(void __iomem *regs)
|
||||
|
|
Loading…
Reference in a new issue