1
0
Fork 0

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

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
hifive-unleashed-5.1
Uwe Kleine-König 2012-04-23 11:23:33 +02:00 committed by David Woodhouse
parent 39a5d0b93c
commit 8d1fd16df9
1 changed files with 1 additions and 0 deletions

View File

@ -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),
};