summaryrefslogtreecommitdiff
path: root/drivers/media/platform
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-08-24 11:06:15 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-15 14:59:53 (GMT)
commit328728312178fd29064f45c458377ce5cbe314ba (patch)
treeab9b5824b89bf85d2321ff75dfed3887352827e6 /drivers/media/platform
parent3ab2a83eaf544ff658a23d95c233fc1fa20eac37 (diff)
downloadlinux-328728312178fd29064f45c458377ce5cbe314ba.tar.xz
[media] mem2mem_testdev: Make m2mtest_dev_release function static
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 <sachin.kamat@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform')
-rw-r--r--drivers/media/platform/mem2mem_testdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/mem2mem_testdev.c b/drivers/media/platform/mem2mem_testdev.c
index 2f5669d..ccbe875 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 = {