git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
svcrpc: treat uid's as unsigned
[safe/jmp/linux-2.6]
/
drivers
/
rtc
/
rtc-bq4802.c
diff --git
a/drivers/rtc/rtc-bq4802.c
b/drivers/rtc/rtc-bq4802.c
index
d00a274
..
280fe48
100644
(file)
--- a/
drivers/rtc/rtc-bq4802.c
+++ b/
drivers/rtc/rtc-bq4802.c
@@
-169,6
+169,8
@@
static int __devinit bq4802_probe(struct platform_device *pdev)
goto out_free;
}
+ platform_set_drvdata(pdev, p);
+
p->rtc = rtc_device_register("bq4802", &pdev->dev,
&bq4802_ops, THIS_MODULE);
if (IS_ERR(p->rtc)) {
@@
-176,7
+178,6
@@
static int __devinit bq4802_probe(struct platform_device *pdev)
goto out_iounmap;
}
- platform_set_drvdata(pdev, p);
err = 0;
out:
return err;