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-Url: https://git.stricted.de/?a=commitdiff_plain;h=8d1fd16df9e14b29965ed64e120015e481d1fe0a;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.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 cc0678a967c1..7d82cc44cb26 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), };