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

Commit a3ff0306 authored by Jeff Hugo's avatar Jeff Hugo
Browse files

msm: smd_debug: Use smem_find_to_proc()



smem_find() is deprecated.  Use the replacement function,
smem_find_to_proc(), instead.

Change-Id: I85b9ff1f6f34cadcc3b38c87f70563f4d039ae82
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent bde88f28
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -107,7 +107,8 @@ static void debug_read_smd_version(struct seq_file *s)
	uint32_t *smd_ver;
	uint32_t n, version;

	smd_ver = smem_find(SMEM_VERSION_SMD, 32 * sizeof(uint32_t));
	smd_ver = smem_find_to_proc(SMEM_VERSION_SMD, 32 * sizeof(uint32_t),
							0, SMEM_ANY_HOST_FLAG);

	if (smd_ver)
		for (n = 0; n < 32; n++) {