diff options
Diffstat (limited to 'drivers/base/power/trace.c')
-rw-r--r-- | drivers/base/power/trace.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/base/power/trace.c b/drivers/base/power/trace.c index d94a1f5121cf..a311cfa4c5bd 100644 --- a/drivers/base/power/trace.c +++ b/drivers/base/power/trace.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * devices may be working. | 7 | * devices may be working. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <linux/resume-trace.h> | 10 | #include <linux/pm-trace.h> |
11 | #include <linux/export.h> | 11 | #include <linux/export.h> |
12 | #include <linux/rtc.h> | 12 | #include <linux/rtc.h> |
13 | 13 | ||
@@ -154,7 +154,7 @@ EXPORT_SYMBOL(set_trace_device); | |||
154 | * it's not any guarantee, but it's a high _likelihood_ that | 154 | * it's not any guarantee, but it's a high _likelihood_ that |
155 | * the match is valid). | 155 | * the match is valid). |
156 | */ | 156 | */ |
157 | void generate_resume_trace(const void *tracedata, unsigned int user) | 157 | void generate_pm_trace(const void *tracedata, unsigned int user) |
158 | { | 158 | { |
159 | unsigned short lineno = *(unsigned short *)tracedata; | 159 | unsigned short lineno = *(unsigned short *)tracedata; |
160 | const char *file = *(const char **)(tracedata + 2); | 160 | const char *file = *(const char **)(tracedata + 2); |
@@ -164,7 +164,7 @@ void generate_resume_trace(const void *tracedata, unsigned int user) | |||
164 | file_hash_value = hash_string(lineno, file, FILEHASH); | 164 | file_hash_value = hash_string(lineno, file, FILEHASH); |
165 | set_magic_time(user_hash_value, file_hash_value, dev_hash_value); | 165 | set_magic_time(user_hash_value, file_hash_value, dev_hash_value); |
166 | } | 166 | } |
167 | EXPORT_SYMBOL(generate_resume_trace); | 167 | EXPORT_SYMBOL(generate_pm_trace); |
168 | 168 | ||
169 | extern char __tracedata_start, __tracedata_end; | 169 | extern char __tracedata_start, __tracedata_end; |
170 | static int show_file_hash(unsigned int value) | 170 | static int show_file_hash(unsigned int value) |