aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/patches-3.18/199-gpio_mvebu_drop_owner.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2015-01-25 15:25:14 +0000
committerImre Kaloz <kaloz@openwrt.org>2015-01-25 15:25:14 +0000
commit5b7c88153cc7af490a4f4d83babcd70cc76f3984 (patch)
treeb3d4a9a182b702401dfdbe713e60a91fde51c57d /target/linux/mvebu/patches-3.18/199-gpio_mvebu_drop_owner.patch
parenteac842c52b28a4fd42082f3ca8231f5874a57361 (diff)
downloadupstream-5b7c88153cc7af490a4f4d83babcd70cc76f3984.tar.gz
upstream-5b7c88153cc7af490a4f4d83babcd70cc76f3984.tar.bz2
upstream-5b7c88153cc7af490a4f4d83babcd70cc76f3984.zip
mvebu: backport some upstream changes
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44127 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mvebu/patches-3.18/199-gpio_mvebu_drop_owner.patch')
-rw-r--r--target/linux/mvebu/patches-3.18/199-gpio_mvebu_drop_owner.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/mvebu/patches-3.18/199-gpio_mvebu_drop_owner.patch b/target/linux/mvebu/patches-3.18/199-gpio_mvebu_drop_owner.patch
new file mode 100644
index 0000000000..c52e85e762
--- /dev/null
+++ b/target/linux/mvebu/patches-3.18/199-gpio_mvebu_drop_owner.patch
@@ -0,0 +1,15 @@
+A platform_driver does not need to set an owner, it will be populated by the
+driver core.
+
+Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
+
+--- a/drivers/gpio/gpio-mvebu.c
++++ b/drivers/gpio/gpio-mvebu.c
+@@ -828,7 +828,6 @@ static int mvebu_gpio_probe(struct platf
+ static struct platform_driver mvebu_gpio_driver = {
+ .driver = {
+ .name = "mvebu-gpio",
+- .owner = THIS_MODULE,
+ .of_match_table = mvebu_gpio_of_match,
+ },
+ .probe = mvebu_gpio_probe,