From patchwork Tue Aug 28 08:41:41 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 10997 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 E598123E53 for ; Tue, 28 Aug 2012 08:44:08 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id D8B37A18F53 for ; Tue, 28 Aug 2012 08:43:39 +0000 (UTC) Received: by ieak11 with SMTP id k11so34960iea.11 for ; Tue, 28 Aug 2012 01:44:08 -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=44Umt0Ok2JOVlI+LJe4Cp6WqfA4ar/mG1skeS5Tz4Qo=; b=cpclQcyJb6pfvO/Ts/P+k03vaXRfYMnaI1QOipDCOXpFftY6kjEJfM4uK195cF/zYA DlGUmb0Og31b+ZUH1o5+nOYnWjZvx3+Hrs+792IMIXIjFltLyHDAZbIzMQmfydZrIaJj DRirNlT26eMgt3RTy+Y4TkWqoR/iB83uUmX+oLgcmrUr5Ml8czUna1cyELkrvEGXaBnp t5TrGu0eqjdU1aoBJvEezisEU7cH4ZNSwDSmiAt50QcJlM86ZH/UrjPuHiCZyCixpvso WwDpaDWwpQFSF78GzgUF24QBvt5vT6/nu/2ixSEdi4J58BtOWsE6+9Ef8qcsMglnhmtJ iUFQ== Received: by 10.50.180.129 with SMTP id do1mr12904151igc.28.1346143447941; Tue, 28 Aug 2012 01:44:07 -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.50.184.232 with SMTP id ex8csp14257igc; Tue, 28 Aug 2012 01:44:07 -0700 (PDT) Received: by 10.66.76.135 with SMTP id k7mr36162259paw.2.1346143446842; Tue, 28 Aug 2012 01:44:06 -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 qd8si21589891pbc.67.2012.08.28.01.44.06 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 28 Aug 2012 01:44:06 -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 pbcmd12 with SMTP id md12so9723936pbc.37 for ; Tue, 28 Aug 2012 01:44:06 -0700 (PDT) Received: by 10.68.234.99 with SMTP id ud3mr40555320pbc.166.1346143446314; Tue, 28 Aug 2012 01:44:06 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id ou6sm16607626pbc.9.2012.08.28.01.44.03 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 28 Aug 2012 01:44:05 -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: Make g2d_pm_ops static Date: Tue, 28 Aug 2012 14:11:41 +0530 Message-Id: <1346143301-1631-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQkS/8eJVQMXN2atiXFQkIR6FfYz32qvo7c2rK72wn4kUuWBkiv/iUOcMoEb+/GMmp/m1zEd Fixes the following warning: drivers/gpu/drm/exynos/exynos_drm_g2d.c:897:1: warning: symbol 'g2d_pm_ops' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_g2d.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_g2d.c b/drivers/gpu/drm/exynos/exynos_drm_g2d.c index 6adfa4e..1065e90 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_g2d.c +++ b/drivers/gpu/drm/exynos/exynos_drm_g2d.c @@ -894,7 +894,7 @@ static int g2d_resume(struct device *dev) } #endif -SIMPLE_DEV_PM_OPS(g2d_pm_ops, g2d_suspend, g2d_resume); +static SIMPLE_DEV_PM_OPS(g2d_pm_ops, g2d_suspend, g2d_resume); struct platform_driver g2d_driver = { .probe = g2d_probe,