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

Commit b9d279f5 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: update return value for minidump add region"

parents 91e88c87 f1727063
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -37,12 +37,13 @@ struct md_region {
 */
 */
#ifdef CONFIG_QCOM_MINIDUMP
#ifdef CONFIG_QCOM_MINIDUMP
extern int msm_minidump_add_region(const struct md_region *entry);
extern int msm_minidump_add_region(const struct md_region *entry);
/* Sets to true, if minidump table is initialized */
extern bool minidump_enabled;
extern bool minidump_enabled;
#else
#else
static inline int msm_minidump_add_region(const struct md_region *entry)
static inline int msm_minidump_add_region(const struct md_region *entry)
{
{
	return -ENODEV;
	/* Return quietly, if minidump is not supported */
	return 0;
}
}
static inline bool msm_minidump_enabled(void) { return false; }
#endif
#endif
#endif
#endif