Commit 55457161 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Kyle McMartin

parisc: rtc: get_rtc_time() returns unsigned int

Signed-off-by: default avatarGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Acked-by: default avatarAlessandro Zummo <a.zummo@towertech.it>
Signed-off-by: default avatarKyle McMartin <kyle@mcmartin.ca>
parent 833bb304
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment