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

Commit 4d3a7a73 authored by Jeff Hugo's avatar Jeff Hugo
Browse files

msm: smd_tty: 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 smd_tty driver,
so substitute the corresponding public api headers where smd_private.h is
used.

Change-Id: I682bea3782d141194ac7aee00ea45232f7f47a27
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent 0023b20a
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -31,12 +31,11 @@
#include <linux/tty_flip.h>

#include <mach/msm_smd.h>
#include <mach/msm_smsm.h>
#include <mach/subsystem_restart.h>
#include <mach/socinfo.h>
#include <mach/msm_ipc_logging.h>

#include "smd_private.h"

#define MODULE_NAME "msm_smdtty"
#define MAX_SMD_TTYS 37
#define MAX_TTY_BUF_SIZE 2048
@@ -302,7 +301,7 @@ static void smd_tty_read(unsigned long param)
			*/
			SMD_TTY_ERR(
				"%s - Possible smd_tty_buffer mismatch for %s",
				__func__, info->ch->name);
				__func__, info->ch_name);
		}

		/*