[PATCH 051/173] [media] radio-aimslab.c needs #include <linux/delay.h>

From: Willy Tarreau
Date: Mon Apr 25 2011 - 16:54:11 EST


2.6.27.59-stable review patch. If anyone has any objections, please let us know.

------------------

From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxx>
Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
Cc: dann frazier <dannf@xxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>

---
drivers/media/radio/radio-aimslab.c | 1 +
1 file changed, 1 insertion(+)

Index: longterm-2.6.27/drivers/media/radio/radio-aimslab.c
===================================================================
--- longterm-2.6.27.orig/drivers/media/radio/radio-aimslab.c 2011-04-25 11:58:08.000000000 +0200
+++ longterm-2.6.27/drivers/media/radio/radio-aimslab.c 2011-04-25 14:19:13.054281433 +0200
@@ -33,6 +33,7 @@
#include <linux/ioport.h> /* request_region */
#include <asm/io.h> /* outb, outb_p */
#include <asm/uaccess.h> /* copy to/from user */
+#include <linux/delay.h> /* msleep */
#include <linux/videodev2.h> /* kernel radio structs */
#include <media/v4l2-common.h>
#include <media/v4l2-ioctl.h>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/