]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.8-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Mar 2013 22:18:34 +0000 (15:18 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Mar 2013 22:18:34 +0000 (15:18 -0700)
added patches:
w1-gpio-fix-section-mismatch.patch

queue-3.8/series
queue-3.8/w1-gpio-fix-section-mismatch.patch [new file with mode: 0644]

index 79b91a9ad6fd5ba9db2779f9f4ae76bdeacc470a..675116f9d7252f20ebd14d46cc02dae2c7342082 100644 (file)
@@ -97,3 +97,4 @@ usb-prepare-for-refactoring-by-adding-extra-udev-checks.patch
 usb-rip-out-recursive-call-on-warm-port-reset.patch
 usb-fix-connected-device-switch-to-inactive-state.patch
 revert-xen-blkback-don-t-trust-the-handle-from-the-frontend.patch
+w1-gpio-fix-section-mismatch.patch
diff --git a/queue-3.8/w1-gpio-fix-section-mismatch.patch b/queue-3.8/w1-gpio-fix-section-mismatch.patch
new file mode 100644 (file)
index 0000000..cfb6dee
--- /dev/null
@@ -0,0 +1,39 @@
+From 06a8f1feb9e82e5b66f781ba3e39055e3f89a641 Mon Sep 17 00:00:00 2001
+From: Hauke Mehrtens <hauke@hauke-m.de>
+Date: Sun, 27 Jan 2013 21:07:57 +0100
+Subject: w1-gpio: fix section mismatch
+
+From: Hauke Mehrtens <hauke@hauke-m.de>
+
+commit 06a8f1feb9e82e5b66f781ba3e39055e3f89a641 upstream.
+
+This fixes the following section mismatch:
+
+WARNING: drivers/w1/masters/w1-gpio.o(.data+0x188): Section mismatch in
+reference from the variable w1_gpio_driver to the function
+.init.text:w1_gpio_probe()
+The variable w1_gpio_driver references
+the function __init w1_gpio_probe()
+If the reference is valid then annotate the
+variable with __init* or __refdata (see linux/init.h) or name the variable:
+*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
+
+Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
+Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/w1/masters/w1-gpio.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/w1/masters/w1-gpio.c
++++ b/drivers/w1/masters/w1-gpio.c
+@@ -72,7 +72,7 @@ static int w1_gpio_probe_dt(struct platf
+       return 0;
+ }
+-static int __init w1_gpio_probe(struct platform_device *pdev)
++static int w1_gpio_probe(struct platform_device *pdev)
+ {
+       struct w1_bus_master *master;
+       struct w1_gpio_platform_data *pdata;