From: Changki Kim Date: Fri, 17 Aug 2018 06:43:00 +0000 (+0900) Subject: [RAMEN9610-9963][COMMON] lib: dss: move definition of DEBUG_LEVEL. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8c6608852f7f351d446a35cc715b24263fbee020;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [RAMEN9610-9963][COMMON] lib: dss: move definition of DEBUG_LEVEL. Change-Id: Ice038a6acc61c16f17a0ec5750be97d1ffec4cc4 Signed-off-by: Changki Kim --- diff --git a/include/linux/debug-snapshot.h b/include/linux/debug-snapshot.h index 6c0ed654f955..00aef34ccdb4 100644 --- a/include/linux/debug-snapshot.h +++ b/include/linux/debug-snapshot.h @@ -291,4 +291,10 @@ enum dsslog_freq_flag { DSS_FLAG_FSYS0, DSS_FLAG_END }; + +#define DSS_DEBUG_LEVEL_NONE (-1) +#define DSS_DEBUG_LEVEL_PREFIX (0xDB9 << 16) +#define DSS_DEBUG_LEVEL_LOW (0) +#define DSS_DEBUG_LEVEL_MID (1) + #endif diff --git a/lib/debug-snapshot-local.h b/lib/debug-snapshot-local.h index 880112ce5a4a..09b7603aeaee 100644 --- a/lib/debug-snapshot-local.h +++ b/lib/debug-snapshot-local.h @@ -46,11 +46,6 @@ extern struct dbg_snapshot_helper_ops *dss_soc_ops; #define DSS_REG_UART_ADDR (0) #define DSS_REG_UART_SIZE (0) -#define DSS_DEBUG_LEVEL_NONE (-1) -#define DSS_DEBUG_LEVEL_PREFIX (0xDB9 << 16) -#define DSS_DEBUG_LEVEL_LOW (0) -#define DSS_DEBUG_LEVEL_MID (1) - typedef int (*dss_initcall_t)(const struct device_node *); struct dbg_snapshot_base {