diff options
author | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2016-08-11 11:26:41 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-15 10:39:45 -0400 |
commit | a04f915eba944d41773146bb6c004212b29a6ace (patch) | |
tree | 62b9754d14611b255f42c7c48441b84292b7c528 | |
parent | a4ebee657c9be3afd35530cd4478b0fa514706d7 (diff) |
staging/android: move trace/sync.h to sync_trace.h
The common behaviour for trace headers is to have them in the same folder
they are used, instead of creating a special trace/ directory.
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/android/sw_sync.c | 2 | ||||
-rw-r--r-- | drivers/staging/android/sync_trace.h (renamed from drivers/staging/android/trace/sync.h) | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/android/sw_sync.c b/drivers/staging/android/sw_sync.c index bda1f6a220c1..92c1f8b1fd85 100644 --- a/drivers/staging/android/sw_sync.c +++ b/drivers/staging/android/sw_sync.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include "sync_debug.h" | 23 | #include "sync_debug.h" |
24 | 24 | ||
25 | #define CREATE_TRACE_POINTS | 25 | #define CREATE_TRACE_POINTS |
26 | #include "trace/sync.h" | 26 | #include "sync_trace.h" |
27 | 27 | ||
28 | struct sw_sync_create_fence_data { | 28 | struct sw_sync_create_fence_data { |
29 | __u32 value; | 29 | __u32 value; |
diff --git a/drivers/staging/android/trace/sync.h b/drivers/staging/android/sync_trace.h index 6b5ce9640ddd..ea485f7be58a 100644 --- a/drivers/staging/android/trace/sync.h +++ b/drivers/staging/android/sync_trace.h | |||
@@ -1,11 +1,11 @@ | |||
1 | #undef TRACE_SYSTEM | 1 | #undef TRACE_SYSTEM |
2 | #define TRACE_INCLUDE_PATH ../../drivers/staging/android/trace | 2 | #define TRACE_INCLUDE_PATH ../../drivers/staging/android |
3 | #define TRACE_SYSTEM sync | 3 | #define TRACE_SYSTEM sync_trace |
4 | 4 | ||
5 | #if !defined(_TRACE_SYNC_H) || defined(TRACE_HEADER_MULTI_READ) | 5 | #if !defined(_TRACE_SYNC_H) || defined(TRACE_HEADER_MULTI_READ) |
6 | #define _TRACE_SYNC_H | 6 | #define _TRACE_SYNC_H |
7 | 7 | ||
8 | #include "../sync_debug.h" | 8 | #include "sync_debug.h" |
9 | #include <linux/tracepoint.h> | 9 | #include <linux/tracepoint.h> |
10 | 10 | ||
11 | TRACE_EVENT(sync_timeline, | 11 | TRACE_EVENT(sync_timeline, |