diff options
Diffstat (limited to 'drivers/base/power/trace.c')
| -rw-r--r-- | drivers/base/power/trace.c | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/base/power/trace.c b/drivers/base/power/trace.c index 9f4258df4cf..d94a1f5121c 100644 --- a/drivers/base/power/trace.c +++ b/drivers/base/power/trace.c @@ -8,6 +8,7 @@   */  #include <linux/resume-trace.h> +#include <linux/export.h>  #include <linux/rtc.h>  #include <asm/rtc.h> @@ -112,7 +113,7 @@ static unsigned int read_magic_time(void)  	unsigned int val;  	get_rtc_time(&time); -	printk("Time: %2d:%02d:%02d  Date: %02d/%02d/%02d\n", +	pr_info("RTC time: %2d:%02d:%02d, date: %02d/%02d/%02d\n",  		time.tm_hour, time.tm_min, time.tm_sec,  		time.tm_mon + 1, time.tm_mday, time.tm_year % 100);  	val = time.tm_year;				/* 100 years */ @@ -179,7 +180,7 @@ static int show_file_hash(unsigned int value)  		unsigned int hash = hash_string(lineno, file, FILEHASH);  		if (hash != value)  			continue; -		printk("  hash matches %s:%u\n", file, lineno); +		pr_info("  hash matches %s:%u\n", file, lineno);  		match++;  	}  	return match; @@ -255,7 +256,7 @@ static int late_resume_init(void)  	val = val / FILEHASH;  	dev = val /* % DEVHASH */; -	printk("  Magic number: %d:%d:%d\n", user, file, dev); +	pr_info("  Magic number: %d:%d:%d\n", user, file, dev);  	show_file_hash(file);  	show_dev_hash(dev);  	return 0;  | 
