From 578bd27f5575459c9cbf14ddf12e3c31a38c3c12 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Sun, 20 Feb 2011 19:51:53 -0800 Subject: [PATCH] .37 patches --- ...imslab.c-needs-include-linux-delay.h.patch | 37 +++++++++++++++++++ queue-2.6.37/series | 1 + 2 files changed, 38 insertions(+) create mode 100644 queue-2.6.37/radio-aimslab.c-needs-include-linux-delay.h.patch 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 index 00000000000..f84fb364d74 --- /dev/null +++ b/queue-2.6.37/radio-aimslab.c-needs-include-linux-delay.h.patch @@ -0,0 +1,37 @@ +From 2400982a2e8a8e4e95f0a0e1517bbe63cc88038f Mon Sep 17 00:00:00 2001 +From: Geert Uytterhoeven +Date: Sun, 16 Jan 2011 10:09:13 -0300 +Subject: [media] radio-aimslab.c needs #include +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +From: Geert Uytterhoeven + +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 +Signed-off-by: Mauro Carvalho Chehab +Cc: dann frazier +Signed-off-by: Greg Kroah-Hartman + +--- + 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 /* Modules */ + #include /* Initdata */ + #include /* request_region */ ++#include /* msleep */ + #include /* kernel radio structs */ + #include /* for KERNEL_VERSION MACRO */ + #include /* outb, outb_p */ diff --git a/queue-2.6.37/series b/queue-2.6.37/series index e0ad0a9068f..7288650d581 100644 --- a/queue-2.6.37/series +++ b/queue-2.6.37/series @@ -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 -- 2.47.3