lkml.org 
[lkml]   [2010]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH -next v2] media: fix em28xx build, needs hardirq.h

> 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"

\
 
 \ /
  Last update: 2010-12-07 19:53    [W:2.804 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site