|
@@ -667,8 +667,8 @@ void sde_mini_dump_add_va_region(const char *name, u32 size, void *virt_addr)
|
|
|
}
|
|
|
#endif
|
|
|
|
|
|
-static int _sde_dump_reg_range_cmp(void *priv, struct list_head *a,
|
|
|
- struct list_head *b)
|
|
|
+static int _sde_dump_reg_range_cmp(void *priv, const struct list_head *a,
|
|
|
+ const struct list_head *b)
|
|
|
{
|
|
|
struct sde_dbg_reg_range *ar, *br;
|
|
|
|
|
@@ -681,8 +681,8 @@ static int _sde_dump_reg_range_cmp(void *priv, struct list_head *a,
|
|
|
return ar->offset.start - br->offset.start;
|
|
|
}
|
|
|
|
|
|
-static int _sde_dump_blk_phys_addr_cmp(void *priv, struct list_head *a,
|
|
|
- struct list_head *b)
|
|
|
+static int _sde_dump_blk_phys_addr_cmp(void *priv, const struct list_head *a,
|
|
|
+ const struct list_head *b)
|
|
|
{
|
|
|
struct sde_dbg_reg_base *ar, *br;
|
|
|
|