Messages in this thread | | | Date | Thu, 21 Mar 2013 10:51:31 +0530 | From | Vinod Koul <> | Subject | Re: [PATCH] dma: timb_dma: Fix compiler warning |
| |
On Tue, Feb 19, 2013 at 10:33:53PM +0200, maxin.john@gmail.com wrote: > From: "Maxin B. John" <maxin.john@enea.com> > > Fix this compiler warning: > warning: 'td_remove' defined but not used [-Wunused-function] > > Signed-off-by: Maxin B. John <maxin.john@enea.com> Applied, thanks
> --- > drivers/dma/timb_dma.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/dma/timb_dma.c b/drivers/dma/timb_dma.c > index 952f823..26107ba 100644 > --- a/drivers/dma/timb_dma.c > +++ b/drivers/dma/timb_dma.c > @@ -823,7 +823,7 @@ static struct platform_driver td_driver = { > .owner = THIS_MODULE, > }, > .probe = td_probe, > - .remove = __exit_p(td_remove), > + .remove = td_remove, > }; > > module_platform_driver(td_driver); > -- > 1.7.7 >
| |