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

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

msm: pil: 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 PIL 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: I477ab17869a921b8091b4961cd673b8615b32a2f
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent 6d280551
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,10 +31,10 @@
#include <mach/subsystem_restart.h>
#include <mach/ramdump.h>
#include <mach/msm_smem.h>
#include <mach/msm_smsm.h>

#include "peripheral-loader.h"
#include "scm-pas.h"
#include "smd_private.h"

#define GSS_CSR_AHB_CLK_SEL	0x0
#define GSS_CSR_RESET		0x4
+1 −1
Original line number Diff line number Diff line
@@ -27,8 +27,8 @@
#include <mach/ramdump.h>
#include <mach/msm_smem.h>
#include <mach/msm_bus_board.h>
#include <mach/msm_smsm.h>

#include "smd_private.h"
#include "sysmon.h"
#include "peripheral-loader.h"
#include "pil-q6v4.h"
+0 −1
Original line number Diff line number Diff line
@@ -26,7 +26,6 @@
#include <mach/msm_smem.h>
#include <mach/msm_bus_board.h>

#include "smd_private.h"
#include "peripheral-loader.h"
#include "pil-q6v4.h"
#include "scm-pas.h"
+1 −1
Original line number Diff line number Diff line
@@ -26,10 +26,10 @@
#include <mach/ramdump.h>
#include <mach/msm_smem.h>
#include <mach/msm_bus_board.h>
#include <mach/msm_smsm.h>

#include "peripheral-loader.h"
#include "scm-pas.h"
#include "smd_private.h"

#define RIVA_PMU_A2XB_CFG		0xB8
#define RIVA_PMU_A2XB_CFG_EN		BIT(0)