diff mbox

[17/25] sparse: epow_status can be static

Message ID 1424776479-13958-18-git-send-email-clg@fr.ibm.com
State Accepted
Headers show

Commit Message

Cédric Le Goater Feb. 24, 2015, 11:14 a.m. UTC
Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
---
 hw/fsp/fsp-epow.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Vasant Hegde Feb. 24, 2015, 3:57 p.m. UTC | #1
On 02/24/2015 04:44 PM, Cédric Le Goater wrote:
> Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>


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

-Vasant


> ---
>  hw/fsp/fsp-epow.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/fsp/fsp-epow.c b/hw/fsp/fsp-epow.c
> index dba05cbcce7d..ed91c15a726c 100644
> --- a/hw/fsp/fsp-epow.c
> +++ b/hw/fsp/fsp-epow.c
> @@ -41,7 +41,7 @@
>   * more of power subsystem specific EPOW events like OPAL_SYSPOWER_UPS,
>   * OPAL_SYSPOWER_CHNG, OPAL_SYSPOWER_FAIL or OPAL_SYSPOWER_INCL.
>   */
> -int16_t epow_status[OPAL_SYSEPOW_MAX];
> +static int16_t epow_status[OPAL_SYSEPOW_MAX];
>  
>  /* EPOW lock */
>  static struct lock epow_lock = LOCK_UNLOCKED;
>
diff mbox

Patch

diff --git a/hw/fsp/fsp-epow.c b/hw/fsp/fsp-epow.c
index dba05cbcce7d..ed91c15a726c 100644
--- a/hw/fsp/fsp-epow.c
+++ b/hw/fsp/fsp-epow.c
@@ -41,7 +41,7 @@ 
  * more of power subsystem specific EPOW events like OPAL_SYSPOWER_UPS,
  * OPAL_SYSPOWER_CHNG, OPAL_SYSPOWER_FAIL or OPAL_SYSPOWER_INCL.
  */
-int16_t epow_status[OPAL_SYSEPOW_MAX];
+static int16_t epow_status[OPAL_SYSEPOW_MAX];
 
 /* EPOW lock */
 static struct lock epow_lock = LOCK_UNLOCKED;