From patchwork Sat Mar 2 09:36:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 15201 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 CEEF523E27 for ; Sat, 2 Mar 2013 09:46:52 +0000 (UTC) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by fiordland.canonical.com (Postfix) with ESMTP id 850F0A18014 for ; Sat, 2 Mar 2013 09:46:52 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fl17so2479637vcb.41 for ; Sat, 02 Mar 2013 01:46:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=5EUqHkiD6ZTAhHcu2y5/1H3e2usfgUzf1hHvg27fWnQ=; b=Qv5Z10V6l2e5pdWhdPouRHMmzQemspZsKwSBYUiPcNAMru0bLk4tZrlp5AYtJi6ANZ U9HwqhqMHg2yTSKyTIFxKrrCE5s26x7J1c1ImaRLMfQOoaLDIu9HXTLTv9acjMd2KZYu 3tCoRZKgIvawJSQc+iEwuaou2w5OGG4YOCK9AIc8bn16QslSRGTd2vz1TwwYIKlAlNuq 90Zq7RE3EHmuBGaoZY1m8XcacQYfzSyG6OeXJPZlntsPBUj2UnTPA5Eg1t9FLV57hoZA H425+x+LxseHaDd1SD4utprsWf3tft2ayVzuts8rHqa9VbhEc8Z39UClWYJg8OYwQ5tf X/5w== X-Received: by 10.52.177.163 with SMTP id cr3mr4567413vdc.94.1362217611989; Sat, 02 Mar 2013 01:46:51 -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.58.127.98 with SMTP id nf2csp3605veb; Sat, 2 Mar 2013 01:46:51 -0800 (PST) X-Received: by 10.67.22.33 with SMTP id hp1mr22623640pad.3.1362217610666; Sat, 02 Mar 2013 01:46:50 -0800 (PST) Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by mx.google.com with ESMTPS id tv4si14760421pbc.305.2013.03.02.01.46.49 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 02 Mar 2013 01:46:50 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.44 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.44; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.44 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-pa0-f44.google.com with SMTP id kp1so2277306pab.31 for ; Sat, 02 Mar 2013 01:46:49 -0800 (PST) X-Received: by 10.66.86.201 with SMTP id r9mr23185420paz.14.1362217609410; Sat, 02 Mar 2013 01:46:49 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id wm3sm15083786pbc.4.2013.03.02.01.46.45 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 02 Mar 2013 01:46:48 -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 1/1] drm/exynos: Make mixer_check_timing static Date: Sat, 2 Mar 2013 15:06:24 +0530 Message-Id: <1362216984-6605-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQnUrVNQ8rO2Xi2JLuiGfj82eZ1+DEb9Cc/v8F4Ubuf2YVVKPISg1Kd7C4wYZkmlXVN8xmtO Fixes the following sparse warning: drivers/gpu/drm/exynos/exynos_mixer.c:821:5: warning: symbol 'mixer_check_timing' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_mixer.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c index e919aba..2f4f72f 100644 --- a/drivers/gpu/drm/exynos/exynos_mixer.c +++ b/drivers/gpu/drm/exynos/exynos_mixer.c @@ -818,7 +818,7 @@ static void mixer_win_disable(void *ctx, int win) mixer_ctx->win_data[win].enabled = false; } -int mixer_check_timing(void *ctx, struct fb_videomode *timing) +static int mixer_check_timing(void *ctx, struct fb_videomode *timing) { struct mixer_context *mixer_ctx = ctx; u32 w, h;