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: Greg Kroah-Hartman <[email protected]>
Cc: Kyungmin Park <[email protected]>
---
diff --git a/drivers/extcon/extcon_gpio.c b/drivers/extcon/extcon_gpio.c
index 5c0f085..fe7a07b 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)
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 = {
@@ -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 <[email protected]>");
MODULE_DESCRIPTION("GPIO extcon driver");
On Wed, May 02, 2012 at 03:38:44PM -0700, H Hartley Sweeten wrote:
> Fix the section mismatch be renaming the struct platform_driver
> variable.
I'm pretty sure I sent a version of this patch sometime last week :/
On Wed, May 02, 2012 at 11:45:14PM +0100, Mark Brown wrote:
> On Wed, May 02, 2012 at 03:38:44PM -0700, H Hartley Sweeten wrote:
> > Fix the section mismatch be renaming the struct platform_driver
> > variable.
>
> I'm pretty sure I sent a version of this patch sometime last week :/
So did I, but I can't seem to find it anywhere. Did I not apply it?
odd.
On Wed, May 02, 2012 at 03:51:15PM -0700, Greg KH wrote:
> So did I, but I can't seem to find it anywhere. Did I not apply it?
> odd.
Nope, no response at all from you that I recall. Perhaps I forgot to CC
the list or something.
On Wednesday, May 02, 2012 3:45 PM, Mark Brown wrote:
> On Wed, May 02, 2012 at 03:38:44PM -0700, H Hartley Sweeten wrote:
>> Fix the section mismatch be renaming the struct platform_driver
>> variable.
>
> I'm pretty sure I sent a version of this patch sometime last week :/
If you have Mark's patch already, I have no problem with you using his
instead.
Regards,
Hartley
On Thu, May 03, 2012 at 12:04:18AM +0100, Mark Brown wrote:
> On Wed, May 02, 2012 at 03:51:15PM -0700, Greg KH wrote:
>
> > So did I, but I can't seem to find it anywhere. Did I not apply it?
>
> > odd.
>
> Nope, no response at all from you that I recall. Perhaps I forgot to CC
> the list or something.
Hm, I found it now, it ended up in my "already applied this" mbox, but
obviously, I didn't apply it.
Very sorry about that, I went through a few hundred patches the other
day on the airplane, I must have messed this one up, my apologies.
greg k-h