coresight: tmc: adding mode of operation for link/sinks
authorMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 3 May 2016 17:33:54 +0000 (11:33 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 May 2016 21:59:30 +0000 (14:59 -0700)
commitf2facc3366d77e78dbc8bf865f1e4a6227a7f0e5
treeb5c0639e99149f1312344e8f0f18b7cebf55eff0
parentf74debbea0885ebb65fb3fa4e598323f40b03f5f
coresight: tmc: adding mode of operation for link/sinks

Moving tmc_drvdata::enable to a local_t mode.  That way the
sink interface is aware of it's orgin and the foundation for
mutual exclusion between the sysFS and Perf interface can be
laid out.

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