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:
parent
833bb3046b
commit
55457161fd
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue