From patchwork Sat Sep 22 06:30:03 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 11637 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 3A3B523EB4 for ; Sat, 22 Sep 2012 06:33:35 +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 D8382A1803D for ; Sat, 22 Sep 2012 06:33:34 +0000 (UTC) Received: by ieje10 with SMTP id e10so6531613iej.11 for ; Fri, 21 Sep 2012 23:33:34 -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=JoF9SShKhR0ojWqq9TGWVFhO6Via1aJg6J3w23Hf9Wk=; b=CAkZXzyD119Hlh7xeFBc6+Yf+xmByK2bsD4rRhrlFijIJ5711vUkEiqJzGLlvNRiaa 7EY6IsVRlTUebpybM8QwFCpF/QQe7lzja6yPq46xBMO4zljIsBcUSlRXULPSRfX9GL1U QRGhfSHRdN/fZ55ZAHHzmntdWlkL0TVti1yly/Wbg5rH8nYF1tWVVHNwktB6bXdk4rWz 87oulOI9wZNCAqYao1vt3yggj7hBdojD81Li3tEaEKeYV74606cJD2DAXAToL0xtm3OT zrPTaFKkMRm9cOMJI26HoEmQ2olRyBLYkKyIBbjYtWOWjh+hnOMEXqYK2cHbKW/MN6bD 9wmg== Received: by 10.50.7.212 with SMTP id l20mr463815iga.43.1348295614274; Fri, 21 Sep 2012 23:33:34 -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 ex8csp163407igc; Fri, 21 Sep 2012 23:33:33 -0700 (PDT) Received: by 10.68.220.201 with SMTP id py9mr20831891pbc.137.1348295613616; Fri, 21 Sep 2012 23:33:33 -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 gk6si13744846pbc.185.2012.09.21.23.33.33 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 21 Sep 2012 23:33:33 -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 md12so9641468pbc.37 for ; Fri, 21 Sep 2012 23:33:33 -0700 (PDT) Received: by 10.68.223.164 with SMTP id qv4mr21170056pbc.20.1348295613309; Fri, 21 Sep 2012 23:33:33 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id qf4sm6264185pbc.1.2012.09.21.23.33.30 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 21 Sep 2012 23:33:32 -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: Add missing static storage class specifiers in udl_fb.c Date: Sat, 22 Sep 2012 12:00:03 +0530 Message-Id: <1348295403-4649-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQmew6k3neWwlg5vtEPyqtvSbIZ97VCEEyxDaBsoSRZccrkgiMUFH9MHQTlJ8amMUH+ryp+v Fixes the following sparse warnings: drivers/gpu/drm/udl/udl_fb.c:360:6: warning: symbol 'udl_crtc_fb_gamma_set' was not declared. Should it be static? drivers/gpu/drm/udl/udl_fb.c:365:6: warning: symbol 'udl_crtc_fb_gamma_get' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/gpu/drm/udl/udl_fb.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/udl/udl_fb.c b/drivers/gpu/drm/udl/udl_fb.c index 8f9d0bd..d06b93f 100644 --- a/drivers/gpu/drm/udl/udl_fb.c +++ b/drivers/gpu/drm/udl/udl_fb.c @@ -357,12 +357,12 @@ static struct fb_ops udlfb_ops = { .fb_release = udl_fb_release, }; -void udl_crtc_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green, +static void udl_crtc_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green, u16 blue, int regno) { } -void udl_crtc_fb_gamma_get(struct drm_crtc *crtc, u16 *red, u16 *green, +static void udl_crtc_fb_gamma_get(struct drm_crtc *crtc, u16 *red, u16 *green, u16 *blue, int regno) { *red = 0;