From patchwork Mon Nov 19 09:52:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 12919 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 070C123FC6 for ; Mon, 19 Nov 2012 09:59:04 +0000 (UTC) Received: from mail-ia0-f180.google.com (mail-ia0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id A91B1A18748 for ; Mon, 19 Nov 2012 09:59:03 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id t4so790719iag.11 for ; Mon, 19 Nov 2012 01:59:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=7YRWWPbUC2h3ooYyk0jLnJR684K2rOiMSTy5il5iTjY=; b=X0hlt/FvGG5znLxDFspIGJqfuGw0AkNdW+Qlunr0iQsPsJYwYDrxx9nURhDTmn6T70 E06vAxRck3glEHdATsoyQGvnHk8bpo5wK4v88fvdEpkmyekwLdmbVUg5uc8wCsdA9uw6 kLlp49eVYwAwVKZZKPez276utdvJ3y4Z4C0uGFAKk6WsqhVN6/YG7UXmYdEhKxZCn0wE LgCrxr0U+BcASkOfMCRRoEAkHS2mbGlW7WGfsDXXnHSg5snKrVFXVFMun/TGo6onkErd ZCJLRqpRvI+gzCyffLTzOBiR3gB2xKdmRMOTV0/VeUb/4InEhmG1s1vJTjOzNhLt2iwa 5v3w== Received: by 10.50.40.137 with SMTP id x9mr8062094igk.1.1353319143098; Mon, 19 Nov 2012 01:59:03 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp136493igt; Mon, 19 Nov 2012 01:59:02 -0800 (PST) Received: by 10.66.85.138 with SMTP id h10mr34281587paz.40.1353319142518; Mon, 19 Nov 2012 01:59:02 -0800 (PST) Received: from mail-da0-f42.google.com (mail-da0-f42.google.com [209.85.210.42]) by mx.google.com with ESMTPS id j9si12766160paw.241.2012.11.19.01.59.02 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 19 Nov 2012 01:59:02 -0800 (PST) Received-SPF: neutral (google.com: 209.85.210.42 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.210.42; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.42 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-da0-f42.google.com with SMTP id z17so1885523dal.15 for ; Mon, 19 Nov 2012 01:59:02 -0800 (PST) Received: by 10.69.1.34 with SMTP id bd2mr25834861pbd.4.1353319142071; Mon, 19 Nov 2012 01:59:02 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id sg7sm5972178pbb.50.2012.11.19.01.58.58 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 19 Nov 2012 01:59:01 -0800 (PST) From: Sachin Kamat To: dri-devel@lists.freedesktop.org Cc: inki.dae@samsung.com, jy0922.shim@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH Resend] drm/exynos: Make exynos4/5_fimd_driver_data static Date: Mon, 19 Nov 2012 15:22:54 +0530 Message-Id: <1353318774-8840-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQnhoSZa8IzgENdCK8b510BvSPsNgKjtbt+/fAoTdhY/15FYS2DPwDl9N0jM+l2NcdzvwwRK Fixes the following sparse warnings: drivers/gpu/drm/exynos/exynos_drm_fimd.c:65:25: warning: symbol 'exynos4_fimd_driver_data' was not declared. Should it be static? drivers/gpu/drm/exynos/exynos_drm_fimd.c:69:25: warning: symbol 'exynos5_fimd_driver_data' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index 130a2b5..e08478f 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c @@ -61,11 +61,11 @@ struct fimd_driver_data { unsigned int timing_base; }; -struct fimd_driver_data exynos4_fimd_driver_data = { +static struct fimd_driver_data exynos4_fimd_driver_data = { .timing_base = 0x0, }; -struct fimd_driver_data exynos5_fimd_driver_data = { +static struct fimd_driver_data exynos5_fimd_driver_data = { .timing_base = 0x20000, };