From 956b09653cc171f290ccef3da6bbac769cbec470 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 5 Aug 2020 16:20:17 -0400 Subject: [PATCH] panfrost: Don't export exception_status Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/pandecode/decode.c | 2 +- src/panfrost/pandecode/public.h | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/panfrost/pandecode/decode.c b/src/panfrost/pandecode/decode.c index 8a99090..f3ce25e 100644 --- a/src/panfrost/pandecode/decode.c +++ b/src/panfrost/pandecode/decode.c @@ -641,7 +641,7 @@ pandecode_block_format(enum mali_block_format fmt) #undef DEFINE_CASE #define DEFINE_CASE(name) case MALI_EXCEPTION_ACCESS_## name: return ""#name -char * +static char * pandecode_exception_access(unsigned access) { switch (access) { diff --git a/src/panfrost/pandecode/public.h b/src/panfrost/pandecode/public.h index 32e043d..abb18c8 100644 --- a/src/panfrost/pandecode/public.h +++ b/src/panfrost/pandecode/public.h @@ -53,8 +53,4 @@ pandecode_inject_mmap(uint64_t gpu_va, void *cpu, unsigned sz, const char *name) void pandecode_jc(uint64_t jc_gpu_va, bool bifrost, unsigned gpu_id, bool minimal); -char * -pandecode_exception_access(unsigned access); - - #endif /* __MMAP_TRACE_H__ */ -- 2.7.4