summaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>2009-03-06 15:54:54 +0100
committerKyle McMartin <kyle@mcmartin.ca>2009-04-02 03:05:30 +0200
commit55457161fdbdb5fe9eeb5027e720462a3fbdcb57 (patch)
treec3092717fc4ddb4628acd66ab019bb1921863751 /drivers/rtc
parentserial: fixup /proc/tty/driver/serial after proc_fops conversion (diff)
downloadlinux-55457161fdbdb5fe9eeb5027e720462a3fbdcb57.tar.xz
linux-55457161fdbdb5fe9eeb5027e720462a3fbdcb57.zip
parisc: rtc: get_rtc_time() returns unsigned int
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>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-parisc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-parisc.c b/drivers/rtc/rtc-parisc.c
index b966f56da976..620b949e4f3d 100644
--- 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;