Re: [PATCH 1/2] dma: imx-sdma: use module_platform_driver for SDMA driver
From: Vignesh Raman
Date: Mon Aug 04 2014 - 04:41:13 EST
On Thursday 31 July 2014 05:30 PM, Vinod Koul wrote:
> On Wed, Jul 30, 2014 at 06:41:14PM +0530, Vignesh Raman wrote:
>> 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.
> where is this bit below?
>
I'm not clear with your question. Are you asking about the unregister
SDMA driver function? It is done by dma_async_device_unregister.
Regards,
Vignesh.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/