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

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Wed Feb 25 02:59:36 AEDT 2015


On 02/24/2015 04:44 PM, Cédric Le Goater wrote:
> Signed-off-by: Cédric Le Goater <clg at fr.ibm.com>

Acked-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>

-Vasant

> ---
>  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;
> 



More information about the Skiboot mailing list