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>
This commit is contained in:
Geert Uytterhoeven 2009-03-06 15:54:54 +01:00 committed by Kyle McMartin
parent 833bb3046b
commit 55457161fd

View file

@ -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;