Received: from mail.onstor.com ([66.201.51.107]) by onstor-exch02.onstor.net with Microsoft SMTPSVC(6.0.3790.1830);
	 Wed, 13 Feb 2008 13:30:31 -0800
Received: from smtp4.pp.htv.fi ([213.243.153.38]) by mail.onstor.com with Microsoft SMTPSVC(6.0.3790.1830);
	 Wed, 13 Feb 2008 13:30:31 -0800
Received: from cs181133002.pp.htv.fi (cs181133002.pp.htv.fi [82.181.133.2])
	by smtp4.pp.htv.fi (Postfix) with ESMTP id 7145D5BC049;
	Wed, 13 Feb 2008 23:30:30 +0200 (EET)
Date: Wed, 13 Feb 2008 23:30:15 +0200
From: Adrian Bunk <bunk@kernel.org>
To: Andy Sharp <andy.sharp@onstor.com>, a.zummo@towertech.it
Cc: rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org
Subject: [2.6 patch] make ds1511_rtc_{read,set}_time() static
Message-ID: <20080213213015.GZ3383@cs181133002.pp.htv.fi>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
User-Agent: Mutt/1.5.17+20080114 (2008-01-14)
Return-Path: bunk@kernel.org
X-OriginalArrivalTime: 13 Feb 2008 21:30:31.0556 (UTC) FILETIME=[A907CC40:01C86E87]

This patch makes the needlessly global ds1511_rtc_{read,set}_time() 
static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

 drivers/rtc/rtc-ds1511.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

2ca22d827507d309cfd7182b9360d1edca531072 diff --git a/drivers/rtc/rtc-ds1511.c b/drivers/rtc/rtc-ds1511.c
index d74b808..d82fd71 100644
--- a/drivers/rtc/rtc-ds1511.c
+++ b/drivers/rtc/rtc-ds1511.c
@@ -181,8 +181,7 @@ ds1511_wdog_disable(void)
  * stupidly, some callers call with year unmolested;
  * and some call with  year = year - 1900.  thanks.
  */
- int
-ds1511_rtc_set_time(struct device *dev, struct rtc_time *rtc_tm)
+static int ds1511_rtc_set_time(struct device *dev, struct rtc_time *rtc_tm)
 {
 	u8 mon, day, dow, hrs, min, sec, yrs, cen;
 	unsigned int flags;
@@ -245,8 +244,7 @@ ds1511_rtc_set_time(struct device *dev, struct rtc_time *rtc_tm)
 	return 0;
 }
 
- int
-ds1511_rtc_read_time(struct device *dev, struct rtc_time *rtc_tm)
+static int ds1511_rtc_read_time(struct device *dev, struct rtc_time *rtc_tm)
 {
 	unsigned int century;
 	unsigned int flags;

