diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2016-02-15 19:12:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-20 14:09:14 -0800 |
commit | 14136e368f909ced74f97cf04199d7288933ad41 (patch) | |
tree | f574ae3ba99c5830baeb60d55b3882129dec4268 /drivers/hwtracing/stm/policy.c | |
parent | d7b1787161b78a5125cbb91d0f7512612bb642ad (diff) | |
download | linux-14136e368f909ced74f97cf04199d7288933ad41.tar.bz2 |
intel_th: Use real device index in the node names
Most of the intel_th core supports multiple co-existing TH devices,
except for output device nodes, where intel_th device id is hardcoded
to be zero.
Fix this by fetching the actual intel_th device id from the parent
device's drvdata.
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwtracing/stm/policy.c')
0 files changed, 0 insertions, 0 deletions