diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2015-01-25 15:25:14 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2015-01-25 15:25:14 +0000 |
commit | afa58d858975de2231afe01dcfcc03e5ad4f78c9 (patch) | |
tree | 3599cb1305414a0a9530141a942f9099f3820578 /target/linux/mvebu/patches-3.18/199-gpio_mvebu_drop_owner.patch | |
parent | d26694243af236fed09a4b38f3cc68e40ad063b5 (diff) | |
download | upstream-afa58d858975de2231afe01dcfcc03e5ad4f78c9.tar.gz upstream-afa58d858975de2231afe01dcfcc03e5ad4f78c9.tar.bz2 upstream-afa58d858975de2231afe01dcfcc03e5ad4f78c9.zip |
mvebu: backport some upstream changes
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44127
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.patch | 15 |
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, |