]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
radio-aimslab.c needs #include <linux/delay.h>
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 16 Jan 2011 13:09:13 +0000 (10:09 -0300)
committerWilly Tarreau <w@1wt.eu>
Sat, 30 Apr 2011 14:53:07 +0000 (16:53 +0200)
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

index f17c89789b5770a2866532f6c0bf598243698c1f..f068f9b6728f1d521ec180e8475ba5040ea96e09 100644 (file)
@@ -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>