[-next] IR: add header file to fix build

Message ID 20100506164144.f2e176c3.rdunlap@xenotime.net (mailing list archive)
State Superseded, archived
Headers

Commit Message

Randy Dunlap May 6, 2010, 11:41 p.m. UTC
  From: Randy Dunlap <randy.dunlap@oracle.com>

Fix build error:
drivers/media/IR/rc-map.c:51: error: implicit declaration of function 'msleep'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
---
 drivers/media/IR/rc-map.c |    1 +
 1 file changed, 1 insertion(+)

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  

Patch

--- linux-next-20100506.orig/drivers/media/IR/rc-map.c
+++ linux-next-20100506/drivers/media/IR/rc-map.c
@@ -13,6 +13,7 @@ 
  */
 
 #include <media/ir-core.h>
+#include <linux/delay.h>
 #include <linux/spinlock.h>
 
 /* Used to handle IR raw handler extensions */