[Skiboot] [PATCH 13/25] sparse: rtc_tod_state and rtc_tod_cache_dirty and be static

Cédric Le Goater clg at fr.ibm.com
Tue Feb 24 22:14:27 AEDT 2015


Signed-off-by: Cédric Le Goater <clg at fr.ibm.com>
---
 hw/fsp/fsp-rtc.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/fsp/fsp-rtc.c b/hw/fsp/fsp-rtc.c
index 6c9258f36f38..8c5e842113a9 100644
--- a/hw/fsp/fsp-rtc.c
+++ b/hw/fsp/fsp-rtc.c
@@ -55,13 +55,13 @@
 
 #include <rtc.h>
 
-enum {
+static enum {
 	RTC_TOD_VALID,
 	RTC_TOD_INVALID,
 	RTC_TOD_PERMANENT_ERROR,
 } rtc_tod_state = RTC_TOD_INVALID;
 
-bool rtc_tod_cache_dirty = false;
+static bool rtc_tod_cache_dirty = false;
 
 static struct lock rtc_lock;
 static struct fsp_msg *rtc_read_msg;
-- 
1.7.10.4



More information about the Skiboot mailing list