From: Sachin Kamat Date: Fri, 24 Aug 2012 11:06:15 +0000 (-0300) Subject: [media] mem2mem_testdev: Make m2mtest_dev_release function static X-Git-Tag: v3.7-rc2~24^2~363 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=328728312178fd29064f45c458377ce5cbe314ba;p=platform%2Fupstream%2Fkernel-adaptation-pc.git [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 Signed-off-by: Mauro Carvalho Chehab --- 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 = {