coresight: Fix undeclared variable warnings from sparse checker
authorJames Clark <james.clark@arm.com>
Thu, 23 Nov 2023 12:04:58 +0000 (12:04 +0000)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Mon, 12 Feb 2024 10:18:41 +0000 (10:18 +0000)
commita7195f3f93836f518e07da11d0b068e71149d17e
tree84023227bbf5379d71da17f2eba5bc3a22a6d7ee
parent54daf07e63321d98473777527ce4853fa8eac33d
coresight: Fix undeclared variable warnings from sparse checker

Including the header with the declarations fixes the following warning
with a C=1 build:

  coresight-cfg-afdo.c:102:27: warning: symbol 'strobe_etm4x' was not declared. Should it be static?
  coresight-cfg-afdo.c:141:26: warning: symbol 'afdo_etm4x' was not declared. Should it be static?

Signed-off-by: James Clark <james.clark@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20231123120459.287578-4-james.clark@arm.com
drivers/hwtracing/coresight/coresight-cfg-afdo.c