Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8a1114c authored by Chandan Gera's avatar Chandan Gera Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: Fix Compilation errors for 32bit Arch



Fixed errors for  Linux 32 bit platform compilation. As part of
this we have made below change.

- Changed io_address to the type dma_addr_t. dma_addr_t is a platform
  independent type.

Change-Id: If9a4d46e7c9ea18141390ab3655760704f6d0c6f
Signed-off-by: default avatarChandan Gera <cgera@codeaurora.org>
parent 7d04cde9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3602,7 +3602,7 @@ static void cam_icp_mgr_print_io_bufs(struct cam_packet *packet,
	int32_t iommu_hdl, int32_t sec_mmu_hdl, uint32_t pf_buf_info,
	bool *mem_found)
{
	uint64_t   iova_addr;
	dma_addr_t iova_addr;
	size_t     src_buf_size;
	int        i;
	int        j;
+1 −1
Original line number Diff line number Diff line
@@ -3044,7 +3044,7 @@ static void cam_ife_mgr_print_io_bufs(struct cam_packet *packet,
	int32_t iommu_hdl, int32_t sec_mmu_hdl, uint32_t pf_buf_info,
	bool *mem_found)
{
	uint64_t   iova_addr;
	dma_addr_t iova_addr;
	size_t     src_buf_size;
	int        i;
	int        j;
+1 −1
Original line number Diff line number Diff line
@@ -606,7 +606,7 @@ static void cam_jpeg_mgr_print_io_bufs(struct cam_packet *packet,
	int32_t iommu_hdl, int32_t sec_mmu_hdl, uint32_t pf_buf_info,
	bool *mem_found)
{
	uint64_t   iova_addr;
	dma_addr_t iova_addr;
	size_t     src_buf_size;
	int        i;
	int        j;