From patchwork Thu Aug 2 06:14:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 1266481 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 C8DC53FCC5 for ; Thu, 2 Aug 2012 06:15:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752760Ab2HBGPd (ORCPT ); Thu, 2 Aug 2012 02:15:33 -0400 Received: from mail-gh0-f174.google.com ([209.85.160.174]:40622 "EHLO mail-gh0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752626Ab2HBGP3 (ORCPT ); Thu, 2 Aug 2012 02:15:29 -0400 Received: by ghrr11 with SMTP id r11so1823868ghr.19 for ; Wed, 01 Aug 2012 23:15:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=YjQSZiFOrDkOHh1IGWAO/rPxIv6lIN+n3kXja6WTa0E=; b=iMrWDPmwY6PyN6hdJoXzAC3Z5crsT6uD4HK+rbF47Pb9D3JRCh6W7jUK5jm+7EWX2P SUqkMm7GbiSFQYoT4JJzLssOePrUugxMqQSJ/vkGNaHr6Lt6R0n+cKGYLFwwpYSj6DeU ysAdTOVTsfOS9/GJdSNKjmWaL1NC2qf/DxAoQ1CuxcP3CjzB6KAdzJ2jKJSIWmS9iBzN iEyAitiE6UJ9hKgEdxZAsS5j3qauGuHV9+ZW6DQuukJCMrZ4WpmHkoRngif+t1E3TkZy wh7XJK7HJEFSxTD/ffh5F6iCBLJfjbrINVqcxi0XNap4M17MUO3JR6QmMQcZf6yBDA4/ Wqtg== Received: by 10.50.219.136 with SMTP id po8mr1315140igc.70.1343888128345; Wed, 01 Aug 2012 23:15:28 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id va9sm15232784igb.17.2012.08.01.23.15.24 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Aug 2012 23:15:27 -0700 (PDT) From: Sachin Kamat To: linux-fbdev@vger.kernel.org Cc: inki.dae@samsung.com, dh09.lee@samsung.com, FlorianSchandinat@gmx.de, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH] video: exynos-mipi-dsi: Add missing static storage class specifiers Date: Thu, 2 Aug 2012 11:44:11 +0530 Message-Id: <1343888051-406-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQlYqwQUO4Fzlog9oYXtfnXCIPx7RGsYP+Q+jdR/pUc3GQWLZj4K80StvvrXKzAfcWGwNuNL Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org Fixes the following sparse warnings: drivers/video/exynos/exynos_mipi_dsi.c:208:22: warning: symbol 'exynos_mipi_dsi_find_lcd_device' was not declared. Should it be static? drivers/video/exynos/exynos_mipi_dsi.c:268:22: warning: symbol 'exynos_mipi_dsi_bind_lcd_ddi' was not declared. Should it be static? Signed-off-by: Sachin Kamat Acked-by: Donghwa Lee --- drivers/video/exynos/exynos_mipi_dsi.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/video/exynos/exynos_mipi_dsi.c b/drivers/video/exynos/exynos_mipi_dsi.c index 4bc2b8a..ef68228 100644 --- a/drivers/video/exynos/exynos_mipi_dsi.c +++ b/drivers/video/exynos/exynos_mipi_dsi.c @@ -205,7 +205,8 @@ int exynos_mipi_dsi_register_lcd_device(struct mipi_dsim_lcd_device *lcd_dev) return 0; } -struct mipi_dsim_ddi *exynos_mipi_dsi_find_lcd_device(struct mipi_dsim_lcd_driver *lcd_drv) +static struct mipi_dsim_ddi *exynos_mipi_dsi_find_lcd_device( + struct mipi_dsim_lcd_driver *lcd_drv) { struct mipi_dsim_ddi *dsim_ddi, *next; struct mipi_dsim_lcd_device *lcd_dev; @@ -265,7 +266,8 @@ int exynos_mipi_dsi_register_lcd_driver(struct mipi_dsim_lcd_driver *lcd_drv) } -struct mipi_dsim_ddi *exynos_mipi_dsi_bind_lcd_ddi(struct mipi_dsim_device *dsim, +static struct mipi_dsim_ddi *exynos_mipi_dsi_bind_lcd_ddi( + struct mipi_dsim_device *dsim, const char *name) { struct mipi_dsim_ddi *dsim_ddi, *next;