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

Commit 4a9cfd0f authored by Laura Abbott's avatar Laura Abbott
Browse files

msm: mdss: Fix stub functions



One stub function was missing a return code and
another stub function was missing completely. Add these.

Change-Id: Ie09d51227230facc571fd0e17cc9765da94b7db1
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
parent 0a0b25b6
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -82,6 +82,10 @@ void mdss_dump_reg(char __iomem *base, int len);
void mdss_xlog_tout_handler(const char *name, ...);
#else
static inline int mdss_debugfs_init(struct mdss_data_type *mdata) { return 0; }
static inline int mdss_debugfs_remove(struct mdss_data_type *mdata)
{
	return 0;
}
static inline int mdss_debug_register_base(const char *name, void __iomem *base,
					size_t max_offset) { return 0; }
static inline int mdss_misr_set(struct mdss_data_type *mdata,
@@ -95,7 +99,7 @@ static inline int mdss_misr_get(struct mdss_data_type *mdata,
static inline void mdss_misr_crc_collect(struct mdss_data_type *mdata,
						int block_id) { }

static inline int create_xlog_debug(struct mdss_data_type *mdata) { }
static inline int create_xlog_debug(struct mdss_data_type *mdata) { return 0; }
static inline void mdss_xlog(const char *name, ...) { }
static inline void mdss_xlog_dump(void) { }
static inline void mdss_dump_reg(char __iomem *base, int len) { }