summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2006-08-07 15:44:05 -0700
committerTrent Piepho <xyzzy@speakeasy.org>2006-08-07 15:44:05 -0700
commitbcc24b6e0f61df9c9192b82f36894450d65b6f53 (patch)
tree2185f48fb7b565e806b1dcfbda2af3b133881649 /linux
parente265a4b0ea1a0ef711d27f58ab249e459e52da5c (diff)
downloadmediapointer-dvb-s2-bcc24b6e0f61df9c9192b82f36894450d65b6f53.tar.gz
mediapointer-dvb-s2-bcc24b6e0f61df9c9192b82f36894450d65b6f53.tar.bz2
Add missing include linux/mm.h to some compat code
From: Trent Piepho <xyzzy@speakeasy.org> Some compat functions for kernel < 2.6.15 needed linux/mm.h, which wasn't included. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/em28xx/em28xx-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-core.c b/linux/drivers/media/video/em28xx/em28xx-core.c
index ff0cd9563..c7f7869f5 100644
--- a/linux/drivers/media/video/em28xx/em28xx-core.c
+++ b/linux/drivers/media/video/em28xx/em28xx-core.c
@@ -64,6 +64,7 @@ module_param(alt, int, 0644);
MODULE_PARM_DESC(alt, "alternate setting to use for video endpoint");
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15)
+#include <linux/mm.h>
static void *rvmalloc(size_t size)
{
void *mem;