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-Url: http://git.lede-project.org./?a=commitdiff_plain;h=328728312178fd29064f45c458377ce5cbe314ba;p=openwrt%2Fstaging%2Fblogic.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 2f5669d20a87..ccbe8750d259 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 = {