Browse Source

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>
Geert Uytterhoeven 16 years ago
parent
commit
55457161fd
1 changed files with 1 additions and 3 deletions
  1. 1 3
      drivers/rtc/rtc-parisc.c

+ 1 - 3
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;