[MTD] [OneNAND] Fix wrong free the static address in onenand_sim

Reported-by: Randy Dunlap <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
This commit is contained in:
Kyungmin Park 2007-10-22 11:01:52 +09:00 • committed by David Woodhouse
commit c21f900cb8

View file

@ -425,7 +425,6 @@ static void flash_exit(struct onenand_flash *flash)
{
vfree(ONENAND_CORE(flash));
kfree(flash->base);
kfree(flash);
}
static int __init onenand_sim_init(void)