diff options
| author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-06-12 21:43:14 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-06-12 21:43:14 -0700 |
| commit | b9d279f54f64673a7d7e485bfb20cf9802e3fed5 (patch) | |
| tree | 1a68461c013a8ad8fd7bb8ef929766bfb982e4f2 /include | |
| parent | 91e88c87dd057f212ee5df853d490f479338a0cc (diff) | |
| parent | f172706351e32ab2ae18d398d3342d98d91f159d (diff) | |
Merge "soc: qcom: update return value for minidump add region"
Diffstat (limited to 'include')
| -rw-r--r-- | include/soc/qcom/minidump.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/soc/qcom/minidump.h b/include/soc/qcom/minidump.h index 2db61a40e2cc..5eb18cb1a365 100644 --- a/include/soc/qcom/minidump.h +++ b/include/soc/qcom/minidump.h @@ -37,12 +37,13 @@ struct md_region { */ #ifdef CONFIG_QCOM_MINIDUMP extern int msm_minidump_add_region(const struct md_region *entry); +/* Sets to true, if minidump table is initialized */ extern bool minidump_enabled; #else 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 |
