aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-08-30 07:21:13 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-12 07:36:56 -0400
commit20c104d0a4d055cfa3df4fcbae818f8e10bd541a (patch)
tree1a54d3551ca612d89946cc3a9c2ab16e799b2f3e /drivers/media/video/cx18
parent7f8ecfab7a1d256707502207c56dd4bf3e3a026e (diff)
V4L/DVB (8856): v4l: fix assorted compile warnings/errors
BIT define conflicts on kernels < 2.6.24, byteorder/swab.h doesn't need to be included at all. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18')
-rw-r--r--drivers/media/video/cx18/cx18-driver.h1
-rw-r--r--drivers/media/video/cx18/cx18-i2c.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/video/cx18/cx18-driver.h b/drivers/media/video/cx18/cx18-driver.h
index 26359897d147..7bdd2fcdf200 100644
--- a/drivers/media/video/cx18/cx18-driver.h
+++ b/drivers/media/video/cx18/cx18-driver.h
@@ -38,7 +38,6 @@
38#include <linux/i2c-algo-bit.h> 38#include <linux/i2c-algo-bit.h>
39#include <linux/list.h> 39#include <linux/list.h>
40#include <linux/unistd.h> 40#include <linux/unistd.h>
41#include <linux/byteorder/swab.h>
42#include <linux/pagemap.h> 41#include <linux/pagemap.h>
43#include <linux/workqueue.h> 42#include <linux/workqueue.h>
44#include <linux/mutex.h> 43#include <linux/mutex.h>
diff --git a/drivers/media/video/cx18/cx18-i2c.c b/drivers/media/video/cx18/cx18-i2c.c
index 6023ba3bd3a6..7d8fb25baae8 100644
--- a/drivers/media/video/cx18/cx18-i2c.c
+++ b/drivers/media/video/cx18/cx18-i2c.c
@@ -27,8 +27,6 @@
27#include "cx18-av-core.h" 27#include "cx18-av-core.h"
28#include "cx18-i2c.h" 28#include "cx18-i2c.h"
29 29
30#include <media/ir-kbd-i2c.h>
31
32#define CX18_REG_I2C_1_WR 0xf15000 30#define CX18_REG_I2C_1_WR 0xf15000
33#define CX18_REG_I2C_1_RD 0xf15008 31#define CX18_REG_I2C_1_RD 0xf15008
34#define CX18_REG_I2C_2_WR 0xf25100 32#define CX18_REG_I2C_2_WR 0xf25100