Skip to content

Commit

Permalink
media: s5p-jpeg: don't return a value on a void function
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mauro Carvalho Chehab authored and Mauro Carvalho Chehab committed May 4, 2018
1 parent 5ef76cb commit de6dddf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit de6dddf

Please sign in to comment.