From: Maxin B. John Date: Tue, 19 Feb 2013 20:33:53 +0000 (+0200) Subject: dma: timb_dma: Fix compiler warning X-Git-Tag: next-20130404~73^2~1^2~25 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3b55ca8bd96261c22438c363ed2486b77f7c3b2e;p=karo-tx-linux.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 952f823901a6..26107ba6edb3 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);