From patchwork Wed Jun 13 08:47:09 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 9258 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 8012623E5A for ; Wed, 13 Jun 2012 08:58:35 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id 49F50A18273 for ; Wed, 13 Jun 2012 08:58:35 +0000 (UTC) Received: by ggnf1 with SMTP id f1so211319ggn.11 for ; Wed, 13 Jun 2012 01:58:34 -0700 (PDT) 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=9AoJC51jLnsODVwGqAJHtBbBneU5MkL5OOacyPkZuzw=; b=ert3faZZWmbDFbLYKCHj7AnDP/gX5Jry1MXuLHADSSKjsYZu+i4sD3CVhxNCHPZgpZ 4N7CohgGgoaI1L6EYG/56qoFqcQDk8LKNsN19AU0IzM473nWXf++7rFCg8abm7Xrj/P0 cQ0WmuISSCe0AIjsZ9UhYNTQyhfmXRShlltrEEEex6ELbRcyot7xlxr2P01uNRrOXDO/ SJwbYi5dTwt+Rur3QXCFPuJUpC1EIwf1cSXDuviKbnVyWtoQJgvAUEfT+ARrh7Ao2rf1 2v9wPBIZQc2ayajrDm840pXeArMgJkQ2SBbvQjmpSPeU8pzknWTbaSYTgzoNaWVjv85v PaqQ== Received: by 10.50.195.234 with SMTP id ih10mr10099945igc.0.1339577914499; Wed, 13 Jun 2012 01:58:34 -0700 (PDT) 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.231.24.148 with SMTP id v20csp10821ibb; Wed, 13 Jun 2012 01:58:33 -0700 (PDT) Received: by 10.68.237.74 with SMTP id va10mr48525003pbc.46.1339577913365; Wed, 13 Jun 2012 01:58:33 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id py10si550515pbb.233.2012.06.13.01.58.33 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 13 Jun 2012 01:58:33 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by pbbrr4 with SMTP id rr4so2333937pbb.37 for ; Wed, 13 Jun 2012 01:58:33 -0700 (PDT) Received: by 10.68.130.3 with SMTP id oa3mr47951958pbb.62.1339577913003; Wed, 13 Jun 2012 01:58:33 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id he9sm5064473pbc.68.2012.06.13.01.58.30 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 13 Jun 2012 01:58:32 -0700 (PDT) From: Sachin Kamat To: dri-devel@lists.freedesktop.org Cc: inki.dae@samsung.com, airlied@linux.ie, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH] drm/exynos: Add missing static storage class specifier Date: Wed, 13 Jun 2012 14:17:09 +0530 Message-Id: <1339577229-32443-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQlJFtfPzXZaTRhgsmGaKpiTEykZMcxhSW/SNKbxtRXwHlSo+BZemgIPdQgTecn6lbaIsIui Fixes the following sparse warning: drivers/gpu/drm/exynos/exynos_drm_connector.c:199:20: warning: symbol 'exynos_drm_best_encoder' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_connector.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_connector.c b/drivers/gpu/drm/exynos/exynos_drm_connector.c index bf791fa..d956819 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_connector.c +++ b/drivers/gpu/drm/exynos/exynos_drm_connector.c @@ -196,7 +196,8 @@ static int exynos_drm_connector_mode_valid(struct drm_connector *connector, return ret; } -struct drm_encoder *exynos_drm_best_encoder(struct drm_connector *connector) +static struct drm_encoder *exynos_drm_best_encoder( + struct drm_connector *connector) { struct drm_device *dev = connector->dev; struct exynos_drm_connector *exynos_connector =