diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-08 18:08:43 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-10 10:48:28 +0100 |
commit | 0f82b6cf76516063fe26dac15e93544387c681eb (patch) | |
tree | 2d76d2c90bd3c3b37b03f46924fb52eabbae1059 /drivers/regulator/dummy.c | |
parent | b7ca87884b138f27f042dd32bd16e9a9f295da77 (diff) | |
download | talos-op-linux-0f82b6cf76516063fe26dac15e93544387c681eb.tar.gz talos-op-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>
Diffstat (limited to 'drivers/regulator/dummy.c')
-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); |