diff options
author | Ingo Molnar <mingo@kernel.org> | 2015-03-05 14:52:18 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-03-05 14:52:18 -0500 |
commit | 33ca8a53f262b4af40611bea331b8c87d133af72 (patch) | |
tree | d6468c820a556c4915bcb5b761204a0fb19e8225 /arch/x86/kernel/rtc.c | |
parent | db2dcb4f91d5fec5c346a82c309187ee821e2495 (diff) | |
parent | 13a7a6ac0a11197edcd0f756a035f472b42cdf8b (diff) |
Merge tag 'v4.0-rc2' into irq/core, to refresh the tree before applying new changes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/rtc.c')
-rw-r--r-- | arch/x86/kernel/rtc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/rtc.c b/arch/x86/kernel/rtc.c index ca9622a25e95..cd9685235df9 100644 --- a/arch/x86/kernel/rtc.c +++ b/arch/x86/kernel/rtc.c | |||
@@ -49,11 +49,11 @@ int mach_set_rtc_mmss(const struct timespec *now) | |||
49 | retval = set_rtc_time(&tm); | 49 | retval = set_rtc_time(&tm); |
50 | if (retval) | 50 | if (retval) |
51 | printk(KERN_ERR "%s: RTC write failed with error %d\n", | 51 | printk(KERN_ERR "%s: RTC write failed with error %d\n", |
52 | __FUNCTION__, retval); | 52 | __func__, retval); |
53 | } else { | 53 | } else { |
54 | printk(KERN_ERR | 54 | printk(KERN_ERR |
55 | "%s: Invalid RTC value: write of %lx to RTC failed\n", | 55 | "%s: Invalid RTC value: write of %lx to RTC failed\n", |
56 | __FUNCTION__, nowtime); | 56 | __func__, nowtime); |
57 | retval = -EINVAL; | 57 | retval = -EINVAL; |
58 | } | 58 | } |
59 | return retval; | 59 | return retval; |
@@ -170,7 +170,7 @@ static struct platform_device rtc_device = { | |||
170 | static __init int add_rtc_cmos(void) | 170 | static __init int add_rtc_cmos(void) |
171 | { | 171 | { |
172 | #ifdef CONFIG_PNP | 172 | #ifdef CONFIG_PNP |
173 | static const char * const const ids[] __initconst = | 173 | static const char * const ids[] __initconst = |
174 | { "PNP0b00", "PNP0b01", "PNP0b02", }; | 174 | { "PNP0b00", "PNP0b01", "PNP0b02", }; |
175 | struct pnp_dev *dev; | 175 | struct pnp_dev *dev; |
176 | struct pnp_id *id; | 176 | struct pnp_id *id; |