Browse Source

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 <maxin.john@enea.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Maxin B. John 12 years ago
parent
commit
234846d4c8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/dma/timb_dma.c

+ 1 - 1
drivers/dma/timb_dma.c

@@ -823,7 +823,7 @@ static struct platform_driver td_driver = {
 		.owner  = THIS_MODULE,
 		.owner  = THIS_MODULE,
 	},
 	},
 	.probe	= td_probe,
 	.probe	= td_probe,
-	.remove	= __exit_p(td_remove),
+	.remove	= td_remove,
 };
 };
 
 
 module_platform_driver(td_driver);
 module_platform_driver(td_driver);