diff options
author | Mathieu Poirier <mathieu.poirier@linaro.org> | 2016-08-25 15:19:11 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-31 13:05:43 +0200 |
commit | 2b7adc460ff8bff95f79c03451448895e761c4a6 (patch) | |
tree | ba4cd80c4c411c2f0042bc8efa72e75dcf1574a0 /drivers/hwtracing/coresight/coresight-etm.h | |
parent | 68905d73df5d51ba1318a0ad3f3c5a65c4e646a2 (diff) | |
download | op-kernel-dev-2b7adc460ff8bff95f79c03451448895e761c4a6.zip op-kernel-dev-2b7adc460ff8bff95f79c03451448895e761c4a6.tar.gz |
coresight: remove duplicated enumeration
Both ETMv3 and ETMv4 drivers are declaring an 'enum etm_addr_type',
creating reduncancy.
This patch removes the enumeration from the driver files and adds
it to a common header.
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwtracing/coresight/coresight-etm.h')
-rw-r--r-- | drivers/hwtracing/coresight/coresight-etm.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/hwtracing/coresight/coresight-etm.h b/drivers/hwtracing/coresight/coresight-etm.h index 51597cb..4a18ee4 100644 --- a/drivers/hwtracing/coresight/coresight-etm.h +++ b/drivers/hwtracing/coresight/coresight-etm.h @@ -259,14 +259,6 @@ struct etm_drvdata { struct etm_config config; }; -enum etm_addr_type { - ETM_ADDR_TYPE_NONE, - ETM_ADDR_TYPE_SINGLE, - ETM_ADDR_TYPE_RANGE, - ETM_ADDR_TYPE_START, - ETM_ADDR_TYPE_STOP, -}; - static inline void etm_writel(struct etm_drvdata *drvdata, u32 val, u32 off) { |