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: 1383871 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id 359773FDF5 for ; Wed, 29 Aug 2012 06:05:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8B7B89E941 for ; Tue, 28 Aug 2012 23:05:22 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pz0-f49.google.com (mail-pz0-f49.google.com [209.85.210.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 816DB9F3C5 for ; Tue, 28 Aug 2012 01:44:06 -0700 (PDT) Received: by dajq27 with SMTP id q27so3181675daj.36 for ; Tue, 28 Aug 2012 01:44:06 -0700 (PDT) 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=44Umt0Ok2JOVlI+LJe4Cp6WqfA4ar/mG1skeS5Tz4Qo=; b=bRyc2kfvxWA/NElyjzIqUdmtj12twwELCHFg6D3gxyMD48QLz4KtJQWWlJl1Xm6j+m 2esL6SMNrLqUZE/asZJiDd+2CC1ELJUtJSgE6HuDCuSjqnj2eacpHTAYGVw+k1R42YW9 brFEIw79QOeVcvz/3J78I9MRy/olTn2Z7Yq1vp4dCGF5P1tnea2VaUL23kFETWaAjgMd 0MGoS+n5cmx+2YWWAEWivE/51GWr0CX4ruSdEebKM1ttKJAiQEvyBoLJP0Jlnmb/d6oQ jvnFQYr9K74e5M/J0G5MtMFzCX2sjarq7zahAOEO+S69Y1GPWh+w/5rQp/OFk0CnlYRo Zs5g== 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 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: ALoCoQnMvwIr9S14PcHx3MUxaFMcU34PYpIJMgjNa1+SJ/rb7jh1pZn5iT0GPEJbnmSpUy89kUi6 X-Mailman-Approved-At: Tue, 28 Aug 2012 23:05:09 -0700 Cc: patches@linaro.org, sachin.kamat@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 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,