From: Maxin B. John Date: Tue, 19 Feb 2013 20:33:53 +0000 (+0200) Subject: dma: timb_dma: Fix compiler warning X-Git-Tag: upstream/snapshot3+hdmi~5139^2~46 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=234846d4c8342a5adeb9f70fc0bca606e32c8d2e;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git dma: timb_dma: Fix compiler warning Fix this compiler warning: warning: 'td_remove' defined but not used [-Wunused-function] Signed-off-by: Maxin B. John Signed-off-by: Vinod Koul --- 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);