diff mbox

sh: prevent the DMA driver from unloading, while in use

Message ID Pine.LNX.4.64.1005211722410.8450@axis700.grange (mailing list archive)
State Accepted
Headers show

Commit Message

Guennadi Liakhovetski May 21, 2010, 3:28 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/dma/shdma.c b/drivers/dma/shdma.c
index 25ddb1e..58563a0 100644
--- a/drivers/dma/shdma.c
+++ b/drivers/dma/shdma.c
@@ -1186,6 +1186,7 @@  static struct platform_driver sh_dmae_driver = {
 	.remove		= __exit_p(sh_dmae_remove),
 	.shutdown	= sh_dmae_shutdown,
 	.driver = {
+		.owner	= THIS_MODULE,
 		.name	= "sh-dma-engine",
 	},
 };