diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-08 19:08:43 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-10 11:48:28 +0200 |
commit | 0f82b6cf76516063fe26dac15e93544387c681eb (patch) | |
tree | 2d76d2c90bd3c3b37b03f46924fb52eabbae1059 | |
parent | regulator: wm831x: Register all normal regulators (diff) | |
download | linux-0f82b6cf76516063fe26dac15e93544387c681eb.tar.xz linux-0f82b6cf76516063fe26dac15e93544387c681eb.zip |
regulator: dummy: Specify a struct device
This will be becoming mandatory.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
-rw-r--r-- | drivers/regulator/dummy.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |