On Wed, Jan 14, 2009 at 04:34:35PM +0530, Pillai, Manikandan wrote: > > The platform data is part of the struct device so you with your current > > code your driver can just assign directly to it. > [Pillai, Manikandan] The platform_data is now initialized to clkrate. > (arch/arm/plat-omap2/i2c.c If you don't want to overwrite it then as previously discussed you should allocate a child platform device in your probe function and use that as the immediate argument when calling regulator_register(). I'm currently doing a patch to regulator_register() which will make the init data an explicit argument. With the current code using the platform data of your I2C device or allocating a child device are your options. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html