From patchwork Mon Mar 9 13:26:17 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 10672 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n29DQUMe024963 for ; Mon, 9 Mar 2009 13:26:31 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751478AbZCIN0c (ORCPT ); Mon, 9 Mar 2009 09:26:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751400AbZCIN0b (ORCPT ); Mon, 9 Mar 2009 09:26:31 -0400 Received: from vervifontaine.sonytel.be ([80.88.33.193]:35594 "EHLO vervifontaine.sonycom.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751227AbZCIN01 (ORCPT ); Mon, 9 Mar 2009 09:26:27 -0400 Received: from vixen.sonytel.be (piraat.sonytel.be [43.221.60.197]) by vervifontaine.sonycom.com (Postfix) with ESMTP id 245FF58C2F; Mon, 9 Mar 2009 14:26:24 +0100 (MET) Received: from geert by vixen.sonytel.be with local (Exim 4.63) (envelope-from ) id 1LgfUt-0005uw-VW; Mon, 09 Mar 2009 14:26:23 +0100 From: Geert Uytterhoeven To: Alessandro Zummo , Kyle McMartin Cc: rtc-linux@googlegroups.com, linux-parisc@vger.kernel.org, linuxppc-dev@ozlabs.org, linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Mundt , Dann Frazier , Geert Uytterhoeven Subject: [PATCH 1/7] parisc: rtc: get_rtc_time() returns unsigned int Date: Mon, 9 Mar 2009 14:26:17 +0100 Message-Id: <1236605183-22718-2-git-send-email-Geert.Uytterhoeven@sonycom.com> X-Mailer: git-send-email 1.6.0.4 In-Reply-To: <1236605183-22718-1-git-send-email-Geert.Uytterhoeven@sonycom.com> References: <1236605183-22718-1-git-send-email-Geert.Uytterhoeven@sonycom.com> Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org Signed-off-by: Geert Uytterhoeven --- drivers/rtc/rtc-parisc.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/rtc/rtc-parisc.c b/drivers/rtc/rtc-parisc.c index b966f56..620b949 100644 --- a/drivers/rtc/rtc-parisc.c +++ b/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;