From patchwork Sat Sep 22 06:47:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 11638 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 22E3B23EFD for ; Sat, 22 Sep 2012 06:51:12 +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 B7F1FA18284 for ; Sat, 22 Sep 2012 06:51:11 +0000 (UTC) Received: by ieje10 with SMTP id e10so6544049iej.11 for ; Fri, 21 Sep 2012 23:51:11 -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=148tgVJHqRi2EZSnN6ABNrAHOBh+0kGivyW3ArkSTzs=; b=A/RkQ0qjmabguJ6nrGsgt6F+v/umfp2puO4XTSX9FtgrVVKG4z+ML+voZushfG+Lbr HPqkLRGi20F5tdo3y/ToA7w9UnBqkXfRx72SLlNQw7zmuLQ3G8iieyCmpWMMWZBmdiXH PFeg0hISWpRBys2WvcwF1UwBWKtARnHK3uveFkWbl7x2Nj7Yqx5ZcRVW7BRvpnhzho9C ik43R1oY9w/4TgdQeochgfaySnvRh4Krg1zwL2eZJgm4/MxystOseRAvNRDxGD9zXQ4/ FLsS2z0kgrQhSLD+Q1LsJzrLISC0Z+3bJ7nef/wvuACx6BC1B43KSQ5bow+aWH7I4SEQ WM5A== Received: by 10.50.154.227 with SMTP id vr3mr486801igb.43.1348296671122; Fri, 21 Sep 2012 23:51:11 -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 ex8csp163802igc; Fri, 21 Sep 2012 23:51:10 -0700 (PDT) Received: by 10.68.234.98 with SMTP id ud2mr20845133pbc.165.1348296670495; Fri, 21 Sep 2012 23:51:10 -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 px5si13777423pbb.172.2012.09.21.23.51.10 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 21 Sep 2012 23:51:10 -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 md12so9661989pbc.37 for ; Fri, 21 Sep 2012 23:51:10 -0700 (PDT) Received: by 10.68.197.100 with SMTP id it4mr21523613pbc.16.1348296670198; Fri, 21 Sep 2012 23:51:10 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id pi1sm6283422pbb.7.2012.09.21.23.51.07 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 21 Sep 2012 23:51:09 -0700 (PDT) From: Sachin Kamat To: dri-devel@lists.freedesktop.org Cc: airlied@linux.ie, airlied@redhat.com, airlied@gmail.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH] drm/udl: Make udl_enc_destroy() static Date: Sat, 22 Sep 2012 12:17:39 +0530 Message-Id: <1348296459-8654-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQn+pS6zzW350PBCj4iS5lUEC0yfI8SD+tUlEuvAcOueXA+9Q+Z41kNltqU5UatpkTgIXkwL Fixes the following sparse warning: drivers/gpu/drm/udl/udl_encoder.c:19:6: warning: symbol 'udl_enc_destroy' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/gpu/drm/udl/udl_encoder.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/udl/udl_encoder.c b/drivers/gpu/drm/udl/udl_encoder.c index 0731ab2..0476bfe 100644 --- a/drivers/gpu/drm/udl/udl_encoder.c +++ b/drivers/gpu/drm/udl/udl_encoder.c @@ -16,7 +16,7 @@ #include "udl_drv.h" /* dummy encoder */ -void udl_enc_destroy(struct drm_encoder *encoder) +static void udl_enc_destroy(struct drm_encoder *encoder) { drm_encoder_cleanup(encoder); kfree(encoder);