On Tue, Mar 06, 2012 at 02:46:43PM -0500, Paul Gortmaker wrote: > static struct regulator_consumer_supply bq24022_consumers[] = { > { > - .dev = &gpio_vbus.dev, > .supply = "vbus_draw", No, this isn't a good fix - it will break the user. You need to replace dev with the equivalent dev_name.