From patchwork Fri Aug 24 12:06:15 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 10926 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 48C5A23E53 for ; Fri, 24 Aug 2012 12:08:31 +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 911DFA1811B for ; Fri, 24 Aug 2012 12:08:13 +0000 (UTC) Received: by iafj25 with SMTP id j25so972984iaf.11 for ; Fri, 24 Aug 2012 05:08: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=0dJ0rL7SWHQxsWnT0eCllKkyNSTZII7Hkk13gGhngUc=; b=iKodC/148I/mOTkXf3it0aZ8ccrBXWUZhb/vGlIYdAxa96j4sunsFzfNFRUJBut4cR aRGDovhmIXxZj4bYIZPSDbaMx3e1tRN16KlqKoRgl+W2B5eKS01L6jLGKfHGE9+GNaAF 8CYWDMD2CeoVBHM+90qe9/Z0QQDEu/EeJToaLrsKoFQUbh24GnCKVgxZbNEg0RRVDLAV wP4R5MGt1ZAErM4+aj9/tRe94JwN8iX22z6OxuWbsvBIEiL3Qb3dIbEV0P1933shGk1e w0woSECaoYRssMq/IS8Z028QcLyBc1XxR03SXQKz12Ir5v4hxbBGJaZfs/BCJPcUdtvF jwyg== Received: by 10.50.207.106 with SMTP id lv10mr1947705igc.0.1345810110243; Fri, 24 Aug 2012 05:08: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.184.232 with SMTP id ex8csp316466igc; Fri, 24 Aug 2012 05:08:29 -0700 (PDT) Received: by 10.68.116.48 with SMTP id jt16mr12337265pbb.101.1345810109372; Fri, 24 Aug 2012 05:08:29 -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 px6si18099355pbc.334.2012.08.24.05.08.29 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Aug 2012 05:08:29 -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 md12so3532651pbc.37 for ; Fri, 24 Aug 2012 05:08:29 -0700 (PDT) Received: by 10.68.131.103 with SMTP id ol7mr12395917pbb.71.1345810108817; Fri, 24 Aug 2012 05:08:28 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id ou6sm8218612pbc.9.2012.08.24.05.08.25 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Aug 2012 05:08:27 -0700 (PDT) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: mchehab@infradead.org, hans.verkuil@cisco.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH] [media] mem2mem_testdev: Make m2mtest_dev_release function static Date: Fri, 24 Aug 2012 17:36:15 +0530 Message-Id: <1345809975-20141-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQnY1fdIJs56sIA1HhuvIBEUO+f3+75dFgXaiRmTiGNmHl2DuZI+47PSaC0KwoiyA/pwglLZ Fixes the following warning: drivers/media/platform/mem2mem_testdev.c:73:6: warning: symbol 'm2mtest_dev_release' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/media/platform/mem2mem_testdev.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/platform/mem2mem_testdev.c b/drivers/media/platform/mem2mem_testdev.c index 0b496f3..771a84f 100644 --- a/drivers/media/platform/mem2mem_testdev.c +++ b/drivers/media/platform/mem2mem_testdev.c @@ -70,7 +70,7 @@ MODULE_VERSION("0.1.1"); v4l2_dbg(1, 1, &dev->v4l2_dev, "%s: " fmt, __func__, ## arg) -void m2mtest_dev_release(struct device *dev) +static void m2mtest_dev_release(struct device *dev) {} static struct platform_device m2mtest_pdev = {