media: venus: place extern venus_fw_debug on a header file
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 1 Sep 2020 10:33:20 +0000 (12:33 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 3 Sep 2020 09:09:54 +0000 (11:09 +0200)
commit10f07a6b2a0e2df63e7159554a47d674c4c9fb16
tree5c897911d7e6bcd71658cbf5edc5ad25c2b1e5f2
parente4969cff95fb85bd242cd74905065a41e3d04ab9
media: venus: place extern venus_fw_debug on a header file

Sparse warns about this symbol:

drivers/media/platform/qcom/venus/hfi_venus.c:133:5:  warning: symbol 'venus_fw_debug' was not declared. Should it be static?

Because hfi_venus.c doesn't include a header file with the
extern. So, move it to core.h, with is included by both
hfi_venus.c and dbgfs.c.

This way, if something changes with it, warnings or errors
will be produced.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/qcom/venus/core.h
drivers/media/platform/qcom/venus/dbgfs.c