]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
dma: timb_dma: Fix compiler warning
authorMaxin B. John <maxin.john@enea.com>
Tue, 19 Feb 2013 20:33:53 +0000 (22:33 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 1 Apr 2013 16:42:09 +0000 (22:12 +0530)
Fix this compiler warning:
warning: 'td_remove' defined but not used [-Wunused-function]

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/timb_dma.c

index 952f823901a6cb5d168ce0b90f2429383ed5bfc3..26107ba6edb33a2fb7d9165aa4ef874bf02f8fbe 100644 (file)
@@ -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);