From: eero.nurkkala@offcode.fi Subject: [PATCH 4/7] msm: qdspv2: apr: declare locals as static Date: Mon, 21 Feb 2011 09:18:16 +0200 Message-ID: <1298272699-11692-5-git-send-email-eero.nurkkala@offcode.fi> References: <1298272699-11692-1-git-send-email-eero.nurkkala@offcode.fi> Return-path: Received: from smtp.nokia.com ([147.243.128.26]:33197 "EHLO mgw-da02.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751571Ab1BUHOF (ORCPT ); Mon, 21 Feb 2011 02:14:05 -0500 In-Reply-To: <1298272699-11692-1-git-send-email-eero.nurkkala@offcode.fi> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: linux-arm-msm@vger.kernel.org Cc: Eero Nurkkala From: Eero Nurkkala Declare the globals as static as they're only referenced in this particular file Signed-off-by: Eero Nurkkala --- arch/arm/mach-msm/qdsp6v2/apr.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-msm/qdsp6v2/apr.c b/arch/arm/mach-msm/qdsp6v2/apr.c index 19b4000..3a8fac5 100644 --- a/arch/arm/mach-msm/qdsp6v2/apr.c +++ b/arch/arm/mach-msm/qdsp6v2/apr.c @@ -37,8 +37,8 @@ #include "dsp_debug.h" -struct apr_q6 q6; -struct apr_client client[APR_DEST_MAX][APR_CLIENT_MAX]; +static struct apr_q6 q6; +static struct apr_client client[APR_DEST_MAX][APR_CLIENT_MAX]; int apr_send_pkt(void *handle, uint32_t *buf) { -- 1.7.0.4