[PATCH -next v2] media: fix em28xx build, needs hardirq.h

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Randy Dunlap
Date: Tuesday, December 7, 2010 - 11:50 am

> It's defined in hardirq.h.

Yes, I was asleep at the wheel.  :(

---
From: Randy Dunlap <randy.dunlap@oracle.com>

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@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 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"
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
linux-next: Tree for December 6, Stephen Rothwell, (Sun Dec 5, 8:00 pm)
Re: linux-next: Tree for December 6, Zimny Lech, (Mon Dec 6, 8:09 am)
Re: linux-next: Tree for December 6 (pch_uart), Randy Dunlap, (Mon Dec 6, 9:14 am)
Re: linux-next: Tree for December 6, Zimny Lech, (Tue Dec 7, 3:23 am)
Re: [PATCH -next] media: fix em28xx build, needs interrupt.h, Alexey Dobriyan, (Tue Dec 7, 11:44 am)
[PATCH -next v2] media: fix em28xx build, needs hardirq.h, Randy Dunlap, (Tue Dec 7, 11:50 am)
Re: linux-next: Tree for December 6 (pch_uart), Randy Dunlap, (Fri Dec 10, 10:20 am)
Re: linux-next: Tree for December 6 (pch_uart), Greg KH, (Fri Dec 10, 4:16 pm)