Skip to content

Commit

Permalink
parisc: rtc: get_rtc_time() returns unsigned int
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Geert Uytterhoeven authored and Kyle McMartin committed Apr 2, 2009
1 parent 833bb30 commit 5545716
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/rtc/rtc-parisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5545716

Please sign in to comment.