From patchwork Tue Aug 28 06:41:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 10995 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 0737823E02 for ; Tue, 28 Aug 2012 06:43:43 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 3D5DEA18416 for ; Tue, 28 Aug 2012 06:43:14 +0000 (UTC) Received: by iafj25 with SMTP id j25so7285812iaf.11 for ; Mon, 27 Aug 2012 23:43:42 -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=zLa6HJ6+9KFTi9IpHnn1/V4iwfeAoZuKUcq6fvk2Zjw=; b=Ioz2jqdaY82kCsUCTXoyG8kYU3ZLa3FVOJBv1qVtPMre7oshBsG47ZFRXiGxwWSt6o WKzzVG7M+EU1rQawKIYsRp5mVoC1vm6o/000FiMhkpHRbfIg4EVQ2ssHRWM/Tgyt4TZf 6qrJgxoPuHMwanQjJixqAtfv3xZOARQ4v1Un/4dErYcLEZKva9qpsBmBfUk9GDjwMAZT OkzMdIgl18jxs7bGsS5trplzC2oQDTvKIzx9tlIXijHYBnn8vkhACpYmRrjSZdb5QSpW FeYbeaAkToemh665SfcP/GJZPs1E1gMuXBKgmrcbKanFSPcsZddoxQuBDd1qPJ9nL7kl 7m+g== Received: by 10.50.237.41 with SMTP id uz9mr2032298igc.43.1346136222098; Mon, 27 Aug 2012 23:43:42 -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 ex8csp9898igc; Mon, 27 Aug 2012 23:43:41 -0700 (PDT) Received: by 10.68.189.193 with SMTP id gk1mr10652287pbc.123.1346136221144; Mon, 27 Aug 2012 23:43:41 -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 pf8si31784250pbc.109.2012.08.27.23.43.40 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 27 Aug 2012 23:43:41 -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 md12so9539762pbc.37 for ; Mon, 27 Aug 2012 23:43:40 -0700 (PDT) Received: by 10.68.129.164 with SMTP id nx4mr29197897pbb.28.1346136220784; Mon, 27 Aug 2012 23:43:40 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id ho7sm14034540pbc.3.2012.08.27.23.43.38 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 27 Aug 2012 23:43:40 -0700 (PDT) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH] ARM: SAMSUNG: Fix HDMI related warnings Date: Tue, 28 Aug 2012 12:11:17 +0530 Message-Id: <1346136077-1226-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQkx3Ii7vKeN+n0QMMihUWpy3Ju6TsX8Z7AJTZu1Ub8AJzDfnzGrpXwf6qp6kBu4P09j19At Silences the following warnings: arch/arm/plat-samsung/devs.c:765:31: warning: symbol 's5p_hdmi_def_platdata' was not declared. Should it be static? arch/arm/plat-samsung/devs.c:767:13: warning: symbol 's5p_hdmi_set_platdata' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- arch/arm/plat-samsung/devs.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c index 6ff45d5..565cea7 100644 --- a/arch/arm/plat-samsung/devs.c +++ b/arch/arm/plat-samsung/devs.c @@ -51,6 +51,7 @@ #include #include #include +#include #include #include #include @@ -762,7 +763,7 @@ void __init s5p_i2c_hdmiphy_set_platdata(struct s3c2410_platform_i2c *pd) &s5p_device_i2c_hdmiphy); } -struct s5p_hdmi_platform_data s5p_hdmi_def_platdata; +static struct s5p_hdmi_platform_data s5p_hdmi_def_platdata; void __init s5p_hdmi_set_platdata(struct i2c_board_info *hdmiphy_info, struct i2c_board_info *mhl_info, int mhl_bus)