From patchwork Wed Aug 1 11:45:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 10442 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 445C824050 for ; Wed, 1 Aug 2012 11:47:24 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id 15236A18F0A for ; Wed, 1 Aug 2012 11:47:23 +0000 (UTC) Received: by mail-yw0-f52.google.com with SMTP id p61so7050180yhp.11 for ; Wed, 01 Aug 2012 04:47:23 -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:in-reply-to:references :x-gm-message-state; bh=ZlBNCMVAM5zjfjCUWywQWoGyZ6IOk3Ymzfwpy/xXNio=; b=KAh0O6xMnFg/duVX5qJT847TJu/YqqRoT2vvZBKChfmFs2LzbS/AG+Sb8yqzsw1chE Uo6ICDXtOihH5ESSjreFGtpjAenB8uEXKdjMjNBs6bryb3ZMLO9LaGR0QdQisBqVwOk/ DJ20laDGDrajJwdz55iP8NYVx+9jZdq45xITnFH19rMBvTnCb0KIgmey5p0qqjn9yAxZ 9eTt32zE6WmD1V3fL7qUAsEBfmhfqgIJ63ggM2fHhfctBUm9k0hw7+PGZ5mh0eZFuLh0 tPrbbnxlz+MhqWyo8DdTxEpmr2qdg4Y0BA9YCYpuyUsiANmrDOUUgUbX67naaWKdb4uW /KZA== Received: by 10.50.163.5 with SMTP id ye5mr3714105igb.51.1343821643495; Wed, 01 Aug 2012 04:47:23 -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.87.40 with SMTP id u8csp194003igz; Wed, 1 Aug 2012 04:47:23 -0700 (PDT) Received: by 10.236.177.1 with SMTP id c1mr16808618yhm.71.1343821642994; Wed, 01 Aug 2012 04:47:22 -0700 (PDT) Received: from mail-yw0-f50.google.com (mail-yw0-f50.google.com [209.85.213.50]) by mx.google.com with ESMTPS id c29si2841483yhe.143.2012.08.01.04.47.22 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Aug 2012 04:47:22 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.213.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.213.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.213.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 mail-yw0-f50.google.com with SMTP id j63so8171431yhj.37 for ; Wed, 01 Aug 2012 04:47:22 -0700 (PDT) Received: by 10.66.72.169 with SMTP id e9mr4039881pav.44.1343821642340; Wed, 01 Aug 2012 04:47:22 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id ov6sm2457221pbb.41.2012.08.01.04.47.19 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Aug 2012 04:47:21 -0700 (PDT) From: Sachin Kamat To: dri-devel@lists.freedesktop.org Cc: airlied@linux.ie, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 3/3] drm: Add misssing static storage class specifier in drm_fb_helper.c file Date: Wed, 1 Aug 2012 17:15:32 +0530 Message-Id: <1343821532-30817-3-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1343821532-30817-1-git-send-email-sachin.kamat@linaro.org> References: <1343821532-30817-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQlkB3zTXvByKpzWrDEFFIoSKIapG9YuWSA8IHctlNh69s3zXXwamLgJuJXdyrvC/P9oG4CB Fixes the following sparse warning: drivers/gpu/drm/drm_fb_helper.c:239:6: warning: symbol 'drm_fb_helper_force_kernel_mode' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/gpu/drm/drm_fb_helper.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c index f546d1e..061d26d 100644 --- a/drivers/gpu/drm/drm_fb_helper.c +++ b/drivers/gpu/drm/drm_fb_helper.c @@ -236,7 +236,7 @@ bool drm_fb_helper_restore_fbdev_mode(struct drm_fb_helper *fb_helper) } EXPORT_SYMBOL(drm_fb_helper_restore_fbdev_mode); -bool drm_fb_helper_force_kernel_mode(void) +static bool drm_fb_helper_force_kernel_mode(void) { bool ret, error = false; struct drm_fb_helper *helper;