mtd/drivers/mtd/onenand generic.c,1.2,1.3
kyungmin.park at samsung.com
kyungmin.park at samsung.com
Thu Dec 15 23:58:33 EST 2005
Update of /home/cvs/mtd/drivers/mtd/onenand
In directory phoenix.infradead.org:/tmp/cvs-serv375/drivers/mtd/onenand
Modified Files:
generic.c
Log Message:
[MTD] OneNAND: Add platform_device.h header file
Sync. with mainline and remove FIXME comment & uncomment mmcontrol
Index: generic.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/onenand/generic.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- generic.c 7 Nov 2005 13:07:07 -0000 1.2
+++ generic.c 16 Dec 2005 04:58:29 -0000 1.3
@@ -12,9 +12,9 @@
* This is a device driver for the OneNAND flash for generic boards.
*/
-#include <linux/device.h>
#include <linux/module.h>
#include <linux/init.h>
+#include <linux/platform_device.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/onenand.h>
#include <linux/mtd/partitions.h>
@@ -60,8 +60,7 @@
goto out_release_mem_region;
}
- // FIXME Enable this, If flash_platform_data has mmcontrol method.
-// info->onenand.mmcontrol = pdata->mmcontrol;
+ info->onenand.mmcontrol = pdata->mmcontrol;
info->mtd.name = pdev->dev.bus_id;
info->mtd.priv = &info->onenand;
More information about the linux-mtd-cvs
mailing list