提交 89d1efc1 编写于 作者: A Afzal Mohammed

mtd: onenand: omap: cleanup gpmc dependency

requesting, freeing gpmc cs is now handled fully
by gpmc, remove left out gpmc dependency as well
as unnecessary include of gpmc.h
Signed-off-by: NAfzal Mohammed <afzal@ti.com>
上级 1b47ca1a
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
#include <linux/regulator/consumer.h> #include <linux/regulator/consumer.h>
#include <asm/mach/flash.h> #include <asm/mach/flash.h>
#include <plat/gpmc.h>
#include <linux/platform_data/mtd-onenand-omap2.h> #include <linux/platform_data/mtd-onenand-omap2.h>
#include <asm/gpio.h> #include <asm/gpio.h>
...@@ -803,7 +802,6 @@ static int __devexit omap2_onenand_remove(struct platform_device *pdev) ...@@ -803,7 +802,6 @@ static int __devexit omap2_onenand_remove(struct platform_device *pdev)
} }
iounmap(c->onenand.base); iounmap(c->onenand.base);
release_mem_region(c->phys_base, c->mem_size); release_mem_region(c->phys_base, c->mem_size);
gpmc_cs_free(c->gpmc_cs);
kfree(c); kfree(c);
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册