summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2007-10-31 21:16:09 -0700
committerTrent Piepho <xyzzy@speakeasy.org>2007-10-31 21:16:09 -0700
commit36693f2d1ca968a92acc755f3d5bd297f3219faa (patch)
tree5e6729f43783029c2d15e10704152f471f780c49 /linux
parenta64dab8aa3caf709b812006586449427fda56857 (diff)
downloadmediapointer-dvb-s2-36693f2d1ca968a92acc755f3d5bd297f3219faa.tar.gz
mediapointer-dvb-s2-36693f2d1ca968a92acc755f3d5bd297f3219faa.tar.bz2
em28xx: Include linux/mm.h
From: Trent Piepho <xyzzy@speakeasy.org> This em28xx-video.c uses functions from this header, but doesn't include it. It depends on some v4l headers included two levels down including poll.h, which includes mm.h. These v4l headers might change, so it's best to include the headers needed directly. It also causes problems for the out of core build system's backward compatibility with older kernels, which is the real reason I bothered to create a patch for something that would otherwise be so minor that it would hardly be worth the trouble. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/em28xx/em28xx-video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-video.c b/linux/drivers/media/video/em28xx/em28xx-video.c
index 533c2a996..fbf06afe7 100644
--- a/linux/drivers/media/video/em28xx/em28xx-video.c
+++ b/linux/drivers/media/video/em28xx/em28xx-video.c
@@ -32,8 +32,8 @@
#include <linux/usb.h>
#include <linux/i2c.h>
#include <linux/version.h>
+#include <linux/mm.h>
#include <linux/video_decoder.h>
-#include "compat.h"
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15)
#include <linux/mutex.h>
#endif