Skip to content

Commit

Permalink
Merge tag 'regulator-3.4' of git://git.kernel.org/pub/scm/linux/kerne…
Browse files Browse the repository at this point in the history
…l/git/broonie/regulator

Pull a regulator build fix from Mark Brown:
 "Fix a build warning in the anatop driver for 3.4

  This is a trivial rename to stop the build system complaining that
  we're referencing things we shouldn't be."

* tag 'regulator-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
  regulator: anatop: fix 'anatop_regulator' name collision
  • Loading branch information
Linus Torvalds committed Apr 10, 2012
2 parents 0682490 + c0d78c2 commit 53cb430
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/regulator/anatop-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ static struct of_device_id __devinitdata of_anatop_regulator_match_tbl[] = {
{ /* end */ }
};

static struct platform_driver anatop_regulator = {
static struct platform_driver anatop_regulator_driver = {
.driver = {
.name = "anatop_regulator",
.owner = THIS_MODULE,
Expand All @@ -226,13 +226,13 @@ static struct platform_driver anatop_regulator = {

static int __init anatop_regulator_init(void)
{
return platform_driver_register(&anatop_regulator);
return platform_driver_register(&anatop_regulator_driver);
}
postcore_initcall(anatop_regulator_init);

static void __exit anatop_regulator_exit(void)
{
platform_driver_unregister(&anatop_regulator);
platform_driver_unregister(&anatop_regulator_driver);
}
module_exit(anatop_regulator_exit);

Expand Down

0 comments on commit 53cb430

Please sign in to comment.