浏览代码

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 年之前
父节点
当前提交
234846d4c8
共有 1 个文件被更改,包括 1 次插入1 次删除
  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,
 	},
 	.probe	= td_probe,
-	.remove	= __exit_p(td_remove),
+	.remove	= td_remove,
 };
 
 module_platform_driver(td_driver);