Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140243
b: refs/heads/master
c: bcf3402
h: refs/heads/master
i:
  140241: 8489698
  140239: 0f2aa6e
v: v3
  • Loading branch information
Mark Brown authored and Liam Girdwood committed Mar 31, 2009
1 parent 3b7a643 commit 6e3b5dd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 93c62da23a717f59933ec799688da42f71d8c6c4
refs/heads/master: bcf3402c50a48d51462f37f72129d9c4369702b4
3 changes: 2 additions & 1 deletion trunk/drivers/regulator/fixed.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ static int regulator_fixed_voltage_probe(struct platform_device *pdev)

drvdata->microvolts = config->microvolts;

drvdata->dev = regulator_register(&drvdata->desc, drvdata);
drvdata->dev = regulator_register(&drvdata->desc, &pdev->dev,
config->init_data, drvdata);
if (IS_ERR(drvdata->dev)) {
ret = PTR_ERR(drvdata->dev);
goto err_name;
Expand Down
3 changes: 3 additions & 0 deletions trunk/include/linux/regulator/fixed.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@
#ifndef __REGULATOR_FIXED_H
#define __REGULATOR_FIXED_H

struct regulator_init_data;

struct fixed_voltage_config {
const char *supply_name;
int microvolts;
struct regulator_init_data *init_data;
};

#endif

0 comments on commit 6e3b5dd

Please sign in to comment.