summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/wm8775.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-12-11 18:11:56 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-12-11 18:11:56 +0000
commitc652e86c520a930ce138a26e8b3a1008c12831d4 (patch)
tree95c479d6868dff609f714883a3f36168a3e6a9d9 /linux/drivers/media/video/wm8775.c
parent2ac4714c81661373de42c676440c324fac6752fb (diff)
downloadmediapointer-dvb-s2-c652e86c520a930ce138a26e8b3a1008c12831d4.tar.gz
mediapointer-dvb-s2-c652e86c520a930ce138a26e8b3a1008c12831d4.tar.bz2
Makes v4l compile under 2.4 kernels
From: Mauro Carvalho Chehab <mchehab@brturbo.com.br> kernel-sync - Makes V4L compile with kernel 2.4 - em28xx doesn't compile with 2.4 kernels. Additional work is necessary to make it compile. Thanks-to: Stefan Leichter <Stefan.Leichter@camLine.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/wm8775.c')
-rw-r--r--linux/drivers/media/video/wm8775.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/wm8775.c b/linux/drivers/media/video/wm8775.c
index 6a2c41567..527ea7d0f 100644
--- a/linux/drivers/media/video/wm8775.c
+++ b/linux/drivers/media/video/wm8775.c
@@ -36,6 +36,7 @@
#include <media/audiochip.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
#include <media/i2c-compat.h>
+#include <linux/slab.h>
#endif
MODULE_DESCRIPTION("wm8775 driver");