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>
This commit is contained in:
Родитель
39a5d0b93c
Коммит
8d1fd16df9
|
@ -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),
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче