mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
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>
This commit is contained in:
parent
b7ca87884b
commit
0f82b6cf76
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue