From bcc24b6e0f61df9c9192b82f36894450d65b6f53 Mon Sep 17 00:00:00 2001 From: Trent Piepho Date: Mon, 7 Aug 2006 15:44:05 -0700 Subject: Add missing include linux/mm.h to some compat code From: Trent Piepho Some compat functions for kernel < 2.6.15 needed linux/mm.h, which wasn't included. Signed-off-by: Trent Piepho --- linux/drivers/media/video/em28xx/em28xx-core.c | 1 + 1 file changed, 1 insertion(+) (limited to 'linux') 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 static void *rvmalloc(size_t size) { void *mem; -- cgit v1.2.3