coresight: Make sure device uses DT for obsolete compatible check
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Wed, 19 Jun 2019 19:52:53 +0000 (13:52 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Jun 2019 05:56:11 +0000 (07:56 +0200)
commita15dab756b0f4687a7c3e9e54767f58fbc63c603
tree9a06474c2edab5969d2dd580497ad2890036aef4
parent88a1607cbed371fa9853b0ebbbaadf9cd6f27ea3
coresight: Make sure device uses DT for obsolete compatible check

As we prepare to add support for ACPI bindings, let us make sure we do
the compatible check only if we are sure we are dealing with a DT based
system.

Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-funnel.c
drivers/hwtracing/coresight/coresight-replicator.c