[PATCH 01/10] mtd: mxc_nand: set owner field to prevent module unloading when in use
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Mon Apr 23 05:23:33 EDT 2012
Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
---
drivers/mtd/nand/mxc_nand.c | 1 +
1 file changed, 1 insertion(+)
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),
};
--
1.7.10
More information about the linux-arm-kernel
mailing list