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

Commit 90fe5a60 authored by Jeff Hugo's avatar Jeff Hugo
Browse files

msm: smsm_debug: Remove incorrect use of smd_private.h



smd_private.h is an internal header file used to share private internal
details of the SMD driver to related components for the purposes of
debugging, segregating functionality, etc.  Nothing in smd_private.h
is intended to be exposed for client use, and including it in a file
should be a special exception, not a normal usecase.

No private internal details have to be accessed by the smsm_debug module,
so substitute the corresponding public api headers where smd_private.h is
used.

Change-Id: I87646510b985b0b6534ad5281fb8e8f9d768436a
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent 28a6c34b
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -22,8 +22,7 @@

#include <mach/msm_iomap.h>
#include <mach/msm_smem.h>

#include "smd_private.h"
#include <mach/msm_smsm.h>

#if defined(CONFIG_DEBUG_FS)

@@ -33,7 +32,7 @@ static void debug_read_smsm_state(struct seq_file *s)
	uint32_t *smsm;
	int n;

	smsm = smem_find(ID_SHARED_STATE,
	smsm = smem_find(SMEM_SMSM_SHARED_STATE,
			 SMSM_NUM_ENTRIES * sizeof(uint32_t));

	if (smsm)