projects
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx
[linux-2.6]
/
drivers
/
rtc
/
rtc-bfin.c
diff --git
a/drivers/rtc/rtc-bfin.c
b/drivers/rtc/rtc-bfin.c
index
34439ce
..
aafd3e6
100644
(file)
--- a/
drivers/rtc/rtc-bfin.c
+++ b/
drivers/rtc/rtc-bfin.c
@@
-390,7
+390,7
@@
static int __devinit bfin_rtc_probe(struct platform_device *pdev)
/* Register our RTC with the RTC framework */
rtc->rtc_dev = rtc_device_register(pdev->name, dev, &bfin_rtc_ops, THIS_MODULE);
- if (unlikely(IS_ERR(rtc))) {
+ if (unlikely(IS_ERR(rtc
->rtc_dev
))) {
ret = PTR_ERR(rtc->rtc_dev);
goto err_irq;
}