diff options
Diffstat (limited to 'drivers/rtc/rtc-proc.c')
-rw-r--r-- | drivers/rtc/rtc-proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-proc.c b/drivers/rtc/rtc-proc.c index 3d7f4547c7d4..8d300e6d0d9e 100644 --- a/drivers/rtc/rtc-proc.c +++ b/drivers/rtc/rtc-proc.c | |||
@@ -74,7 +74,7 @@ static int rtc_proc_show(struct seq_file *seq, void *offset) | |||
74 | seq_printf(seq, "24hr\t\t: yes\n"); | 74 | seq_printf(seq, "24hr\t\t: yes\n"); |
75 | 75 | ||
76 | if (ops->proc) | 76 | if (ops->proc) |
77 | ops->proc(rtc->class_dev.dev, seq); | 77 | ops->proc(rtc->dev.parent, seq); |
78 | 78 | ||
79 | return 0; | 79 | return 0; |
80 | } | 80 | } |