Skip to content

Commit 2878bda

Browse files
H Hartley Sweetengregkh
authored andcommitted
Extcon: fix section mismatch in extcon_gpio.c
Fix the section mismatch be renaming the struct platform_driver variable. Signed-off-by: H Hartley Sweeten <[email protected]> Cc: MyungJoo Ham <[email protected]> Cc: Mark Brown <[email protected]> Cc: Kyungmin Park <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent b4eafca commit 2878bda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/extcon/extcon_gpio.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ static int __devexit gpio_extcon_remove(struct platform_device *pdev)
153153
return 0;
154154
}
155155

156-
static struct platform_driver gpio_extcon = {
156+
static struct platform_driver gpio_extcon_driver = {
157157
.probe = gpio_extcon_probe,
158158
.remove = __devexit_p(gpio_extcon_remove),
159159
.driver = {
@@ -162,7 +162,7 @@ static struct platform_driver gpio_extcon = {
162162
},
163163
};
164164

165-
module_platform_driver(gpio_extcon);
165+
module_platform_driver(gpio_extcon_driver);
166166

167167
MODULE_AUTHOR("Mike Lockwood <[email protected]>");
168168
MODULE_DESCRIPTION("GPIO extcon driver");

0 commit comments

Comments
 (0)