Skip to content

Commit

Permalink
[media] mem2mem_testdev: Make m2mtest_dev_release function static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sachin Kamat authored and Mauro Carvalho Chehab committed Sep 15, 2012
1 parent 3ab2a83 commit 3287283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/platform/mem2mem_testdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 3287283

Please sign in to comment.