From: Eero Nurkkala <eero.nurkkala@xxxxxxxxxx> Declare the globals as static as they're only referenced in this particular file Signed-off-by: Eero Nurkkala <eero.nurkkala@xxxxxxxxxx> --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html