diff options
author | Mathieu Poirier <mathieu.poirier@linaro.org> | 2016-02-18 03:51:59 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-21 01:11:01 +0300 |
commit | e827d4550aa3225b8965ce4c266208cfe0297509 (patch) | |
tree | bc92a3b51a0b98e66a03a515a490322882d931ff /include/linux/coresight.h | |
parent | 27b10da8fff27d74b755707e61637f6ab488c617 (diff) | |
download | linux-e827d4550aa3225b8965ce4c266208cfe0297509.tar.xz |
coresight: etb10: adding operation mode for sink->enable()
Adding an operation mode to the sink->enable() API in order
to prevent simultaneous access from different callers.
TPIU and TMC won't be supplemented with the AUX area
API immediately and as such ignore the new mode.
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/coresight.h')
-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 6801dd64ee5d..9fa92dcdd2ea 100644 --- a/include/linux/coresight.h +++ b/include/linux/coresight.h @@ -186,7 +186,7 @@ struct coresight_device { * @disable: disables the sink. */ struct coresight_ops_sink { - int (*enable)(struct coresight_device *csdev); + int (*enable)(struct coresight_device *csdev, u32 mode); void (*disable)(struct coresight_device *csdev); }; |