From patchwork Fri May 10 11:46:49 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2549451 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 736163FC5A for ; Fri, 10 May 2013 12:00:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751369Ab3EJMAL (ORCPT ); Fri, 10 May 2013 08:00:11 -0400 Received: from mail-pd0-f177.google.com ([209.85.192.177]:56433 "EHLO mail-pd0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751119Ab3EJMAL (ORCPT ); Fri, 10 May 2013 08:00:11 -0400 Received: by mail-pd0-f177.google.com with SMTP id g10so2700376pdj.8 for ; Fri, 10 May 2013 05:00:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=pTdSOjVPUxrmYkJUzNL8A9ixNT9h/sfWMhsR92DbaAc=; b=Si64j7JGsNDFM1qqEB3VXvv7Lo6eyTJ0bcG+mu03gpiYdQVpbXkpc84GC7HxtBhTAb FvleWbJcNSY36xB9vcYFUu/Cjdg9zUUH+51zkP5NtAQiO2KavEgk052N8S8MpaY8RO8u z0NUQs7VydjmBh15UcYe2Wsep58GzL697gdwtEN4pAD0Jjolyrq70mWTu5BsTh85DqSw 045Me1Vd4vr1lYXYFnsUST8hCfOQ81DOHNyz3VElq7ab4XsXBdx0wdtwsby9bz62LecC y/CH20huj55i+BB1F6tdMaeDkfqnvQC0/6qh2swRvA8smC4W+lxZFclHO59L5VgvBMIR kPew== X-Received: by 10.68.211.73 with SMTP id na9mr17168152pbc.90.1368187210398; Fri, 10 May 2013 05:00:10 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id fn2sm2479580pbc.15.2013.05.10.05.00.07 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 10 May 2013 05:00:09 -0700 (PDT) From: Sachin Kamat To: linux-fbdev@vger.kernel.org Cc: bernie@plugable.com, tomi.valkeinen@ti.com, akpm@linux-foundation.org, sachin.kamat@linaro.org, FlorianSchandinat@gmx.de Subject: [PATCH 2/2] video: udlfb: Make local symbol static Date: Fri, 10 May 2013 17:16:49 +0530 Message-Id: <1368186409-30709-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1368186409-30709-1-git-send-email-sachin.kamat@linaro.org> References: <1368186409-30709-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQn7RfYYwQqWKlGoq1T4slhFjMsanzUPfcc+sDPxpUq0feNt+Gc5MwiGnC4uouRhNxWuLVSv Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org 'dlfb_handle_damage' is used only in this file. Make it static. Signed-off-by: Sachin Kamat --- drivers/video/udlfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/udlfb.c b/drivers/video/udlfb.c index 20353a6..d2e5bc3 100644 --- a/drivers/video/udlfb.c +++ b/drivers/video/udlfb.c @@ -573,7 +573,7 @@ static int dlfb_render_hline(struct dlfb_data *dev, struct urb **urb_ptr, return 0; } -int dlfb_handle_damage(struct dlfb_data *dev, int x, int y, +static int dlfb_handle_damage(struct dlfb_data *dev, int x, int y, int width, int height, char *data) { int i, ret;