diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-05-02 18:38:44 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-02 18:49:29 -0400 |
commit | 2878bda864c53db599c4a3e3b136ed3e2af68ca0 (patch) | |
tree | 1838ec129d37ee389f2cf5e70ea5e7b12ed1e765 /drivers/extcon | |
parent | b4eafca1132d6065c2f37a873dbf4e0bb88cb23f (diff) |
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 <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>
Diffstat (limited to 'drivers/extcon')
-rw-r--r-- | drivers/extcon/extcon_gpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/extcon/extcon_gpio.c b/drivers/extcon/extcon_gpio.c index 5c0f08506f93..fe7a07b47336 100644 --- a/drivers/extcon/extcon_gpio.c +++ b/drivers/extcon/extcon_gpio.c | |||
@@ -153,7 +153,7 @@ static int __devexit gpio_extcon_remove(struct platform_device *pdev) | |||
153 | return 0; | 153 | return 0; |
154 | } | 154 | } |
155 | 155 | ||
156 | static struct platform_driver gpio_extcon = { | 156 | static struct platform_driver gpio_extcon_driver = { |
157 | .probe = gpio_extcon_probe, | 157 | .probe = gpio_extcon_probe, |
158 | .remove = __devexit_p(gpio_extcon_remove), | 158 | .remove = __devexit_p(gpio_extcon_remove), |
159 | .driver = { | 159 | .driver = { |
@@ -162,7 +162,7 @@ static struct platform_driver gpio_extcon = { | |||
162 | }, | 162 | }, |
163 | }; | 163 | }; |
164 | 164 | ||
165 | module_platform_driver(gpio_extcon); | 165 | module_platform_driver(gpio_extcon_driver); |
166 | 166 | ||
167 | MODULE_AUTHOR("Mike Lockwood <lockwood@android.com>"); | 167 | MODULE_AUTHOR("Mike Lockwood <lockwood@android.com>"); |
168 | MODULE_DESCRIPTION("GPIO extcon driver"); | 168 | MODULE_DESCRIPTION("GPIO extcon driver"); |