On Tue, Jan 06, 2009 at 03:43:13PM +0530, Pillai, Manikandan wrote: > [Pillai, Manikandan] The consumer data is being passed through the struct tps_6235x_i2c_board_info in board specific file board-omap3evm.c. > But for struct regulator_consumer_supply tps62352_core_consumers the > Member dev needs to be inited. .dev is not available at this point of time. Please note what I said about the value you're configuring here: the struct device that is provided for the consumer is the struct device for the *consumer*. You are setting it to the struct device for the regulator itself. Think what happens when a consumer calls regulator_get(): it passes in its own struct device and the supply name. > If dev is not initialized, the regulator_register() is failing. That's OMAP-specific. [BTW, Your e-mails are extremely difficult to read since you don't distinguish between new and quoted text at all. You should at the very least prefix a quote character to quoted text (Outlook can be configured to do that).] -- 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