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: 10451 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 40EA724048 for ; Thu, 2 Aug 2012 06:15:31 +0000 (UTC) Received: from mail-gh0-f180.google.com (mail-gh0-f180.google.com [209.85.160.180]) by fiordland.canonical.com (Postfix) with ESMTP id 0A7D0A19103 for ; Thu, 2 Aug 2012 06:15:30 +0000 (UTC) Received: by ghbz12 with SMTP id z12so8159043ghb.11 for ; Wed, 01 Aug 2012 23:15:30 -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=YjQSZiFOrDkOHh1IGWAO/rPxIv6lIN+n3kXja6WTa0E=; b=W5yG6JXwfZNEL6rF7NNOkUnGVW1Zz//40maSsGJ5Dz4fo76btKCsUmneKxF8dnpuXZ O8wdmdJaubqXlnGga8Jw3QcKDlziNHaoXPTCGC+A/I04dtc1RFId7+VcBCozTDX9xArZ rKHqj2gr1CBCAWFHToWiyAwxu+bZsfb8WFBKouYGa75iSNSw3WYBd+rtxcjTEK50ROXK O5io0Ym2fucTmqSgKQi2NF9VM1pTubrME/4DTR2/QhDLC/zc3q39/Ueh3CA6J5+nC2u/ ykVKFjThOFnx/UPDWdDzsXhl2ic3PLH8ks2FFiKEaovOaRbtl26LntqGQgu7xJhmqQu1 LQrw== Received: by 10.50.46.132 with SMTP id v4mr1519730igm.25.1343888130350; Wed, 01 Aug 2012 23:15:30 -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.87.40 with SMTP id u8csp237305igz; Wed, 1 Aug 2012 23:15:29 -0700 (PDT) Received: by 10.100.83.2 with SMTP id g2mr3579833anb.15.1343888129156; Wed, 01 Aug 2012 23:15:29 -0700 (PDT) Received: from mail-yx0-f178.google.com (mail-yx0-f178.google.com [209.85.213.178]) by mx.google.com with ESMTPS id l5si5160143yhk.152.2012.08.01.23.15.28 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Aug 2012 23:15:29 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.213.178 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.213.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.213.178 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by yenl6 with SMTP id l6so9475988yen.37 for ; Wed, 01 Aug 2012 23:15:28 -0700 (PDT) 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: ALoCoQlDkzJN/4sVxwRJjRKe/TTEMnOky6HZiNwLGeUo1I4Bf6/pZYL2IB3OX/jeLd09MQvIb+sl 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;