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: 1370801 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 116AADF28C for ; Fri, 24 Aug 2012 12:08:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757060Ab2HXMIa (ORCPT ); Fri, 24 Aug 2012 08:08:30 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:44905 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751056Ab2HXMI3 (ORCPT ); Fri, 24 Aug 2012 08:08:29 -0400 Received: by pbbrr13 with SMTP id rr13so3354626pbb.19 for ; Fri, 24 Aug 2012 05:08:29 -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=0dJ0rL7SWHQxsWnT0eCllKkyNSTZII7Hkk13gGhngUc=; b=U36HmKh1gZx/TQIOsKRJEdu7b49J/lfEBuTriugCL74enyFSWbZBLwCnTjYRTRvpTZ BAiM7rj153Bq+Tc9tDeBg/I8gxYgcvRx/dccmTgJIfExKfXoRefKZNWba/9WZTVICywq rcMIlVwaswLb6Y8Cq/FRys3bMGQ3Oref3w53mleETSRgyrOlaeWkiQDY1HHQFpBQZXPZ yitQaPM9s7A7YiyoLUaSrWXNHXhEGmKdgtzIrlh1aM7Ed3JGlHDRsdqrO/lk2mlXxKL/ TzGkoYg0dK5Dbu2QUey8/M80E1/+M53F5hjOTDuRVDqXVhuVoGvMp0wQ8UPovseE68mq ARjw== 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: ALoCoQkxlQu2zCU5eIz4G/4zc7e4ogqax5P91nUlVlEQuVHxENL1F1Rx9D9RhryWdDf3zrGNo0bg Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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 = {