summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/exynos4-is/fimc-reg.h
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2020-11-24 09:41:28 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-12-03 07:49:16 +0100
commitdb47622c13ae8e164505866d1f251de64d68e66a (patch)
tree7efef791f0677396215cbe1f24710295a3f5ad73 /drivers/media/platform/exynos4-is/fimc-reg.h
parent5e67276638765f8dc2327dcf33c0e1f4d5726b7b (diff)
downloadlinux-db47622c13ae8e164505866d1f251de64d68e66a.tar.bz2
media: platform: exynos4-is: remove all references to physical addresses
This driver always operates on the DMA/IOVA addresses, so calling them physical addresses is misleading, although when no IOMMU is used they equal each other. Fix this by renaming all such entries to 'addr' and adjusting comments. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/platform/exynos4-is/fimc-reg.h')
-rw-r--r--drivers/media/platform/exynos4-is/fimc-reg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/exynos4-is/fimc-reg.h b/drivers/media/platform/exynos4-is/fimc-reg.h
index b81826d04936..d7a62465c14e 100644
--- a/drivers/media/platform/exynos4-is/fimc-reg.h
+++ b/drivers/media/platform/exynos4-is/fimc-reg.h
@@ -302,8 +302,8 @@ void fimc_hw_set_rgb_alpha(struct fimc_ctx *ctx);
void fimc_hw_set_in_dma(struct fimc_ctx *ctx);
void fimc_hw_set_input_path(struct fimc_ctx *ctx);
void fimc_hw_set_output_path(struct fimc_ctx *ctx);
-void fimc_hw_set_input_addr(struct fimc_dev *fimc, struct fimc_addr *paddr);
-void fimc_hw_set_output_addr(struct fimc_dev *fimc, struct fimc_addr *paddr,
+void fimc_hw_set_input_addr(struct fimc_dev *fimc, struct fimc_addr *addr);
+void fimc_hw_set_output_addr(struct fimc_dev *fimc, struct fimc_addr *addr,
int index);
int fimc_hw_set_camera_source(struct fimc_dev *fimc,
struct fimc_source_info *cam);