[PATCH v4 1/7] MTD: Add integrator-flash feature to physmap
From: Russell King - ARM Linux <hidden>
Date: 2011-05-15 07:41:51
From: Russell King - ARM Linux <hidden>
Date: 2011-05-15 07:41:51
On Thu, Mar 17, 2011 at 01:03:42PM +0000, Marc Zyngier wrote:
diff --git a/include/linux/mtd/physmap.h b/include/linux/mtd/physmap.h index bcfd9f7..d37cca0 100644 --- a/include/linux/mtd/physmap.h +++ b/include/linux/mtd/physmap.h@@ -22,6 +22,8 @@ struct map_info; struct physmap_flash_data { unsigned int width; + int (*init)(struct platform_device *); + void (*exit)(struct platform_device *); void (*set_vpp)(struct map_info *, int);
Does anything use the map_info argument to set_vpp? If not, passing a platform_device pointer would be more consistent and useful here.