From: Uwe Kleine-König Date: Mon, 23 Apr 2012 09:23:33 +0000 (+0200) Subject: mtd: mxc_nand: set owner field to prevent module unloading when in use X-Git-Tag: v3.5-rc1~8^2~55 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8d1fd16df9e14b29965ed64e120015e481d1fe0a;p=platform%2Fupstream%2Fkernel-adaptation-pc.git mtd: mxc_nand: set owner field to prevent module unloading when in use Signed-off-by: Uwe Kleine-König Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c index cc0678a..7d82cc4 100644 --- a/drivers/mtd/nand/mxc_nand.c +++ b/drivers/mtd/nand/mxc_nand.c @@ -1275,6 +1275,7 @@ static int __devexit mxcnd_remove(struct platform_device *pdev) static struct platform_driver mxcnd_driver = { .driver = { .name = DRIVER_NAME, + .owner = THIS_MODULE, }, .remove = __devexit_p(mxcnd_remove), };