]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
.37 patches
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Feb 2011 03:51:53 +0000 (19:51 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Feb 2011 03:51:53 +0000 (19:51 -0800)
queue-2.6.37/radio-aimslab.c-needs-include-linux-delay.h.patch [new file with mode: 0644]
queue-2.6.37/series

diff --git a/queue-2.6.37/radio-aimslab.c-needs-include-linux-delay.h.patch b/queue-2.6.37/radio-aimslab.c-needs-include-linux-delay.h.patch
new file mode 100644 (file)
index 0000000..f84fb36
--- /dev/null
@@ -0,0 +1,37 @@
+From 2400982a2e8a8e4e95f0a0e1517bbe63cc88038f Mon Sep 17 00:00:00 2001
+From: Geert Uytterhoeven <geert@linux-m68k.org>
+Date: Sun, 16 Jan 2011 10:09:13 -0300
+Subject: [media] radio-aimslab.c needs #include <linux/delay.h>
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+From: Geert Uytterhoeven <geert@linux-m68k.org>
+
+commit 2400982a2e8a8e4e95f0a0e1517bbe63cc88038f upstream.
+
+Commit e3c92215198cb6aa00ad38db2780faa6b72e0a3f ("[media] radio-aimslab.c: Fix
+gcc 4.5+ bug") removed the include, but introduced new callers of msleep():
+
+| drivers/media/radio/radio-aimslab.c: In function ‘rt_decvol’:
+| drivers/media/radio/radio-aimslab.c:76: error: implicit declaration of function ‘msleep’
+
+Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
+Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
+Cc: dann frazier <dannf@debian.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
+
+---
+ drivers/media/radio/radio-aimslab.c |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/drivers/media/radio/radio-aimslab.c
++++ b/drivers/media/radio/radio-aimslab.c
+@@ -31,6 +31,7 @@
+ #include <linux/module.h>     /* Modules                      */
+ #include <linux/init.h>               /* Initdata                     */
+ #include <linux/ioport.h>     /* request_region               */
++#include <linux/delay.h>      /* msleep                       */
+ #include <linux/videodev2.h>  /* kernel radio structs         */
+ #include <linux/version.h>    /* for KERNEL_VERSION MACRO     */
+ #include <linux/io.h>         /* outb, outb_p                 */
index e0ad0a9068f054afb024557198048a2f30104771..7288650d5811dd4b0a388cf6c7779bf4e1430746 100644 (file)
@@ -51,3 +51,4 @@ hwmon-jc42-more-helpful-documentation.patch
 hwmon-jc42-do-not-allow-writing-to-locked-registers.patch
 netfilter-fix-race-in-conntrack-between-dump_table-and-destroy.patch
 netfilter-ctnetlink-fix-missing-refcount-increment-during-dumps.patch
+radio-aimslab.c-needs-include-linux-delay.h.patch