projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
833bb30
)
parisc: rtc: get_rtc_time() returns unsigned int
author
Geert Uytterhoeven
<Geert.Uytterhoeven@sonycom.com>
Fri, 6 Mar 2009 14:54:54 +0000
(15:54 +0100)
committer
Kyle McMartin
<kyle@mcmartin.ca>
Thu, 2 Apr 2009 01:05:30 +0000
(
01:05
+0000)
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
drivers/rtc/rtc-parisc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/rtc/rtc-parisc.c
b/drivers/rtc/rtc-parisc.c
index b966f56da976e4dec379c56eb6fcc88545883295..620b949e4f3d895757374c33f65c11786a651f9b 100644
(file)
--- a/
drivers/rtc/rtc-parisc.c
+++ b/
drivers/rtc/rtc-parisc.c
@@
-13,9
+13,7
@@
static int parisc_get_time(struct device *dev, struct rtc_time *tm)
{
- unsigned long ret;
-
- ret = get_rtc_time(tm);
+ unsigned int ret = get_rtc_time(tm);
if (ret & RTC_BATT_BAD)
return -EOPNOTSUPP;