[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <201205021538.45056.hartleys@visionengravers.com>
Date: Wed, 2 May 2012 15:38:44 -0700
From: H Hartley Sweeten <hartleys@...ionengravers.com>
To: Linux Kernel <linux-kernel@...r.kernel.org>
CC: <myungjoo.ham@...sung.com>, <broonie@...nsource.wolfsonmicro.com>,
<gregkh@...uxfoundation.org>, <kyungmin.park@...sung.com>
Subject: [PATCH] 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@...ionengravers.com>
Cc: MyungJoo Ham <myungjoo.ham@...sung.com>
Cc: Mark Brown <broonie@...nsource.wolfsonmicro.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Kyungmin Park <kyungmin.park@...sung.com>
---
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 <lockwood@...roid.com>");
MODULE_DESCRIPTION("GPIO extcon driver");
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists