diff options
author | Cédric Le Goater <clg@fr.ibm.com> | 2015-02-24 12:14:27 +0100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-03-05 10:39:56 +1100 |
commit | f9020b58dfb719a607908385bf42dc9f8ad43b7c (patch) | |
tree | 21f7b37bc9b59c890ccc4970a5c5a22a165d308e | |
parent | 4d81acea02eb4e6179e80c9c7699df120591352a (diff) | |
download | skiboot-f9020b58dfb719a607908385bf42dc9f8ad43b7c.zip skiboot-f9020b58dfb719a607908385bf42dc9f8ad43b7c.tar.gz skiboot-f9020b58dfb719a607908385bf42dc9f8ad43b7c.tar.bz2 |
sparse: rtc_tod_state and rtc_tod_cache_dirty and be static
Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
Acked-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r-- | hw/fsp/fsp-rtc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/fsp/fsp-rtc.c b/hw/fsp/fsp-rtc.c index 6c9258f..8c5e842 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; |