From 0f82b6cf76516063fe26dac15e93544387c681eb Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Tue, 8 May 2012 18:08:43 +0100 Subject: [PATCH] regulator: dummy: Specify a struct device This will be becoming mandatory. Signed-off-by: Mark Brown Acked-by: Liam Girdwood --- drivers/regulator/dummy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/dummy.c b/drivers/regulator/dummy.c index 1571bee6b1bc..86f655c7f7a1 100644 --- a/drivers/regulator/dummy.c +++ b/drivers/regulator/dummy.c @@ -42,6 +42,7 @@ static int __devinit dummy_regulator_probe(struct platform_device *pdev) struct regulator_config config = { }; int ret; + config.dev = &pdev->dev; config.init_data = &dummy_initdata; dummy_regulator_rdev = regulator_register(&dummy_desc, &config); -- 2.20.1