diff options
| author | Mathieu Poirier <mathieu.poirier@linaro.org> | 2016-02-17 17:51:52 -0700 |
|---|---|---|
| committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2016-06-01 15:31:20 -0600 |
| commit | 877324a46672c3bf72a423fcd9b257642f29a50e (patch) | |
| tree | 284db07f2043e9c466e4f7a98149500162e4df5f /include/linux | |
| parent | e66f4306639b71295995f91374b233efb01227db (diff) | |
coresight: etm3x: adding operation mode for etm_enable()
Adding a new mode to source API enable() in order to
distinguish where the request comes from. That way it is
possible to perform different operations based on where
the request was issued from.
The ETM4x driver is also modified to keep in sync with the
new interface.
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 22fd532eaa0c24d86e23d8e9e3b7feac4a8cac80)
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/coresight.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/coresight.h b/include/linux/coresight.h index 851ecb22397e..61dfb8d511ea 100644 --- a/include/linux/coresight.h +++ b/include/linux/coresight.h @@ -213,7 +213,7 @@ struct coresight_ops_link { struct coresight_ops_source { int (*cpu_id)(struct coresight_device *csdev); int (*trace_id)(struct coresight_device *csdev); - int (*enable)(struct coresight_device *csdev); + int (*enable)(struct coresight_device *csdev, u32 mode); void (*disable)(struct coresight_device *csdev); }; |
