From patchwork Sat Sep 22 07:05:21 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 11639 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 CC2B123E54 for ; Sat, 22 Sep 2012 07:09:00 +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 7E7F4A1861F for ; Sat, 22 Sep 2012 07:09:00 +0000 (UTC) Received: by ieje10 with SMTP id e10so6557366iej.11 for ; Sat, 22 Sep 2012 00:08:59 -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=ySrh+UC8AJEQIcvfd+o3J3AFnARNfmUsizdAcWoEkyM=; b=YUhuAIjP0A/x7J1sQ4GloZQ3vDk4K3r0yJg462R1Q5PcBJXqrIfi1DzlkXgj0t7iQO b2ApTQq9iDaKDzoH9ew3gDbOlEv5pxGp9paUZvYmDb5cfHfH633yOzK6TFpq+I8vxIS2 /Yls9AuQK/U7xpzdaQdJnJPZngc6EhTugWlnE/7n9qlJlUTMRQtYUGHf+R7JHTxcZih7 mahED3sv65Oa8lkG65CUb5R7A72+zSzXB/324e8F9xls1zh+JNlRudPuyQp1Z41p4BmG BQt6ZLzAIWsfmQLtIl7swavVC7f53FvvHSG37QdHz1mLBOARJREMFkM1eg3z0AiZQc9s vY9A== Received: by 10.42.109.194 with SMTP id m2mr5503109icp.48.1348297739884; Sat, 22 Sep 2012 00:08:59 -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 ex8csp164248igc; Sat, 22 Sep 2012 00:08:59 -0700 (PDT) Received: by 10.68.222.226 with SMTP id qp2mr21061214pbc.57.1348297739145; Sat, 22 Sep 2012 00:08:59 -0700 (PDT) Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by mx.google.com with ESMTPS id gh6si13813210pbc.117.2012.09.22.00.08.58 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 22 Sep 2012 00:08:59 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.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 padhz11 with SMTP id hz11so470560pad.37 for ; Sat, 22 Sep 2012 00:08:58 -0700 (PDT) Received: by 10.68.200.231 with SMTP id jv7mr20993208pbc.140.1348297738664; Sat, 22 Sep 2012 00:08:58 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id kt2sm6280941pbc.73.2012.09.22.00.08.52 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 22 Sep 2012 00:08:58 -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_crtc_init() static Date: Sat, 22 Sep 2012 12:35:21 +0530 Message-Id: <1348297521-14903-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQnaguPJNqmhFJXfNxTcD1yLT9hPOlFfRmz11LYKaWMxL340B7A4BQXeYT2NzygFs45SRg2q Fixes the following sparse warning: drivers/gpu/drm/udl/udl_modeset.c:394:5: warning: symbol 'udl_crtc_init' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/gpu/drm/udl/udl_modeset.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/udl/udl_modeset.c b/drivers/gpu/drm/udl/udl_modeset.c index 9159d48..8f25815 100644 --- a/drivers/gpu/drm/udl/udl_modeset.c +++ b/drivers/gpu/drm/udl/udl_modeset.c @@ -391,7 +391,7 @@ static const struct drm_crtc_funcs udl_crtc_funcs = { .destroy = udl_crtc_destroy, }; -int udl_crtc_init(struct drm_device *dev) +static int udl_crtc_init(struct drm_device *dev) { struct drm_crtc *crtc;