Commit 8d1fd16d authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by David Woodhouse
Browse files

mtd: mxc_nand: set owner field to prevent module unloading when in use

parent 39a5d0b9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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),
};