From: Vignesh Raman Date: Tue, 5 Aug 2014 13:09:41 +0000 (+0530) Subject: dma: imx-sdma: use module_platform_driver for SDMA driver X-Git-Tag: fixes-against-v3.18-rc2~40^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23e11811378259831777e8fdc8b9836faeaa72cd;p=pandora-kernel.git dma: imx-sdma: use module_platform_driver for SDMA driver Currently there is no module_exit declared in SDMA driver, so that once sdma module is inserted, it's shown with permanent attribute by lsmod, and it can't be removed. Use module_platform_driver to register/unregister SDMA driver and modify SDMA's remove operation, to make SDMA driver possible to be removed. Signed-off-by: Jiada Wang Signed-off-by: Vinod Koul --- Reading git-diff-tree failed