Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343143
b: refs/heads/master
c: ec4f7b8
h: refs/heads/master
i:
  343141: 642e90e
  343139: ba937af
  343135: 6aaa00e
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Dec 6, 2012
1 parent 0c201ac commit 40d71d5
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 216f2b9c95ac6e4f00b08df807bc4454434a9afb
refs/heads/master: ec4f7b88b4a89253ec922d48f77b269ce5cffc2c
4 changes: 3 additions & 1 deletion trunk/drivers/regulator/gpio-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,18 +364,20 @@ static int __devexit gpio_regulator_remove(struct platform_device *pdev)
return 0;
}

#if defined(CONFIG_OF)
static const struct of_device_id regulator_gpio_of_match[] __devinitconst = {
{ .compatible = "regulator-gpio", },
{},
};
#endif

static struct platform_driver gpio_regulator_driver = {
.probe = gpio_regulator_probe,
.remove = __devexit_p(gpio_regulator_remove),
.driver = {
.name = "gpio-regulator",
.owner = THIS_MODULE,
.of_match_table = regulator_gpio_of_match,
.of_match_table = of_match_ptr(regulator_gpio_of_match),
},
};

Expand Down

0 comments on commit 40d71d5

Please sign in to comment.