summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/s2255drv.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-06-28 21:46:22 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-06-28 21:46:22 -0300
commitcc58201a750068a54b6d70a398936d890639f013 (patch)
tree799e8bcbf633ed27c018728e67997c0cf4e046c3 /linux/drivers/media/video/s2255drv.c
parent4f2d17789141dd027ea033ac9a6f8b2922bf5a58 (diff)
downloadmediapointer-dvb-s2-cc58201a750068a54b6d70a398936d890639f013.tar.gz
mediapointer-dvb-s2-cc58201a750068a54b6d70a398936d890639f013.tar.bz2
Fix s2255drv compilation against older kernels
From: Mauro Carvalho Chehab <mchehab@infradead.org> As reported by Hermann Pitton: CC [M] /mnt/xfer/mercurial/v4l-dvb-head/v4l-dvb/v4l/s2255drv.o s2255drv.c: In function 'vidioc_querycap': s2255drv.c:809: error: implicit declaration of function 'dev_name' s2255drv.c:809: warning: passing argument 2 of 'strlcpy' makes pointer from integer without a cast Tested with kernel 2.6.25.6 Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/s2255drv.c')
-rw-r--r--linux/drivers/media/video/s2255drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/s2255drv.c b/linux/drivers/media/video/s2255drv.c
index 6d5fbad95..aca8c3d90 100644
--- a/linux/drivers/media/video/s2255drv.c
+++ b/linux/drivers/media/video/s2255drv.c
@@ -51,6 +51,7 @@
#include <media/v4l2-common.h>
#include <linux/vmalloc.h>
#include <linux/usb.h>
+#include "compat.h"
#define FIRMWARE_FILE_NAME "f2255usb.bin"