commit | 23e11811378259831777e8fdc8b9836faeaa72cd | [log] [tgz] |
---|---|---|
author | Vignesh Raman <Vignesh_Raman@mentor.com> | Tue Aug 05 18:39:41 2014 +0530 |
committer | Vinod Koul <vinod.koul@intel.com> | Tue Aug 19 20:52:04 2014 +0530 |
tree | ce63996c49211c5a15a4bf277bfd0c41e6c67d52 | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 [diff] |
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 <jiada_wang@mentor.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>