Message ID | 1345809975-20141-1-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show |
ping... On 24 August 2012 17:36, Sachin Kamat <sachin.kamat@linaro.org> wrote: > 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> > --- > drivers/media/platform/mem2mem_testdev.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/media/platform/mem2mem_testdev.c b/drivers/media/platform/mem2mem_testdev.c > index 0b496f3..771a84f 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 = { > -- > 1.7.4.1 >
diff --git a/drivers/media/platform/mem2mem_testdev.c b/drivers/media/platform/mem2mem_testdev.c index 0b496f3..771a84f 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 = {
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> --- drivers/media/platform/mem2mem_testdev.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)