]> Pileus Git - ~andy/linux/commitdiff
[media] mem2mem_testdev: Make m2mtest_dev_release function static
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 24 Aug 2012 11:06:15 +0000 (08:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 15 Sep 2012 14:59:53 +0000 (11:59 -0300)
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>
drivers/media/platform/mem2mem_testdev.c

index 2f5669d20a87b24b977ea350a9630f6bb0100656..ccbe8750d259f153a73f2c43b8c17e667370ce9f 100644 (file)
@@ -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 = {