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

Commit 0bfdfa42 authored by Jeff Hugo's avatar Jeff Hugo
Browse files

msm: subsystem_restart: 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 subsystem_restart driver is using smd_private.h as a means to access
the platfrom_driver public API.  Substitute the platfrom_driver public api
headers for the uses of smd_private.h.

Change-Id: I87c171378822cb3b8a019f2624bc336a448e1105
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent 00a362bb
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@
#include <linux/miscdevice.h>
#include <linux/interrupt.h>
#include <linux/of_gpio.h>
#include <linux/platform_device.h>

#include <asm/current.h>

@@ -40,8 +41,6 @@
#include <mach/subsystem_notif.h>
#include <mach/subsystem_restart.h>

#include "smd_private.h"

static int enable_debug;
module_param(enable_debug, int, S_IRUGO | S_IWUSR);