Loading include/soc/qcom/minidump.h +3 −2 Original line number Original line Diff line number Diff line Loading @@ -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 Loading
include/soc/qcom/minidump.h +3 −2 Original line number Original line Diff line number Diff line Loading @@ -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