[PATCH -next v2] media: fix em28xx build, needs hardirq.h
From: Randy Dunlap
Date: Tue Dec 07 2010 - 13:50:53 EST
> It's defined in hardirq.h.
Yes, I was asleep at the wheel. :(
---
From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
Fix em28xx build by adding hardirq.h header file:
drivers/media/video/em28xx/em28xx-vbi.c:49: error: implicit declaration of function 'in_interrupt'
Reported-by: Zimny Lech <napohybelskurwysynom2010@xxxxxxxxx>
Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
---
drivers/media/video/em28xx/em28xx-vbi.c | 1 +
1 file changed, 1 insertion(+)
--- linux-next-20101207.orig/drivers/media/video/em28xx/em28xx-vbi.c
+++ linux-next-20101207/drivers/media/video/em28xx/em28xx-vbi.c
@@ -23,6 +23,7 @@
#include <linux/kernel.h>
#include <linux/module.h>
+#include <linux/hardirq.h>
#include <linux/init.h>
#include "em28xx.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/