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: 1765701 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id 4C96DDF264 for ; Mon, 19 Nov 2012 16:03:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 52279E61B4 for ; Mon, 19 Nov 2012 08:03:32 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pb0-f49.google.com (mail-pb0-f49.google.com [209.85.160.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 4544DE6058 for ; Mon, 19 Nov 2012 01:59:02 -0800 (PST) Received: by mail-pb0-f49.google.com with SMTP id un15so3127723pbc.36 for ; Mon, 19 Nov 2012 01:59:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=7YRWWPbUC2h3ooYyk0jLnJR684K2rOiMSTy5il5iTjY=; b=Aq7Qwtq1YGBWCxxqAizThTk7vAtNA1XKq4dkgGD3a6bKaAv9CT42xx1qy4e0bqA24A YkUW5t32PJ2gPej36RGb2bNaEPyMb9htjP6bmQYYAnE7a2VvglHy2mL2mfwi+BFTdS56 XYO9B1fYeJdSNJEGg7+2RlBeJ61AJWA2RN+g0kwwqwuGUDtu6CuDFKahJgj2/4YKhiQ9 7gbWmv0Y2PRO9M1LMq+jucWI7emfZDYo50QjCC1W7J3dOpUrkQk5KLpTPT90cEgAHE+W enM4UVyAGKM4otXTkrsW2IUQSFP5114VNo5DzCBA5aATmi4ztW0qcAmYCuaZuRsOEtqO I8WQ== 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 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: ALoCoQl3r6SE4AOu11KSxG1ZGQKYsJYrBKjCqpog4ExABvBtOBTKqEheC6JhMNfv7Ez+9WpvP6RE X-Mailman-Approved-At: Mon, 19 Nov 2012 07:53:20 -0800 Cc: sachin.kamat@linaro.org, patches@linaro.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org 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, };