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

Commit 731a7620 authored by Jeff Hugo's avatar Jeff Hugo
Browse files

msm: rpc: 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.

The RPC framework is using smd_private.h as a means to access the SMSM
public API.  Substitute the SMSM public api headers for the uses of
smd_private.h.

Change-Id: I58daba63fab3646af7259d572a09f8f67f1f2a95
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent 90fe5a60
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21,8 +21,8 @@
#include <linux/export.h>

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

struct rpcrouter_smd_xprt {
	struct rpcrouter_xprt xprt;
+1 −1
Original line number Diff line number Diff line
@@ -47,11 +47,11 @@
#include <mach/msm_smd.h>
#include <mach/smem_log.h>
#include <mach/subsystem_notif.h>
#include <mach/msm_smsm.h>

#include "smd_rpcrouter.h"
#include "modem_notifier.h"
#include "smd_rpc_sym.h"
#include "smd_private.h"

enum {
	SMEM_LOG = 1U << 0,