Skip to content

Commit

Permalink
Extcon: fix section mismatch in extcon_gpio.c
Browse files Browse the repository at this point in the history
Fix the section mismatch be renaming the struct platform_driver
variable.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed May 2, 2012
1 parent b4eafca commit 2878bda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/extcon/extcon_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ static int __devexit gpio_extcon_remove(struct platform_device *pdev)
return 0;
}

static struct platform_driver gpio_extcon = {
static struct platform_driver gpio_extcon_driver = {
.probe = gpio_extcon_probe,
.remove = __devexit_p(gpio_extcon_remove),
.driver = {
Expand All @@ -162,7 +162,7 @@ static struct platform_driver gpio_extcon = {
},
};

module_platform_driver(gpio_extcon);
module_platform_driver(gpio_extcon_driver);

MODULE_AUTHOR("Mike Lockwood <lockwood@android.com>");
MODULE_DESCRIPTION("GPIO extcon driver");
Expand Down

0 comments on commit 2878bda

Please sign in to comment.