diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-08-30 07:21:13 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 07:36:56 -0400 |
commit | 20c104d0a4d055cfa3df4fcbae818f8e10bd541a (patch) | |
tree | 1a54d3551ca612d89946cc3a9c2ab16e799b2f3e /drivers/media/video/ivtv | |
parent | 7f8ecfab7a1d256707502207c56dd4bf3e3a026e (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/ivtv')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-driver.h | 1 | ||||
-rw-r--r-- | drivers/media/video/ivtv/ivtv-i2c.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/video/ivtv/ivtv-driver.h b/drivers/media/video/ivtv/ivtv-driver.h index 2ceb5227637c..b76a12268637 100644 --- a/drivers/media/video/ivtv/ivtv-driver.h +++ b/drivers/media/video/ivtv/ivtv-driver.h | |||
@@ -49,7 +49,6 @@ | |||
49 | #include <linux/i2c-algo-bit.h> | 49 | #include <linux/i2c-algo-bit.h> |
50 | #include <linux/list.h> | 50 | #include <linux/list.h> |
51 | #include <linux/unistd.h> | 51 | #include <linux/unistd.h> |
52 | #include <linux/byteorder/swab.h> | ||
53 | #include <linux/pagemap.h> | 52 | #include <linux/pagemap.h> |
54 | #include <linux/scatterlist.h> | 53 | #include <linux/scatterlist.h> |
55 | #include <linux/workqueue.h> | 54 | #include <linux/workqueue.h> |
diff --git a/drivers/media/video/ivtv/ivtv-i2c.c b/drivers/media/video/ivtv/ivtv-i2c.c index af154238fb9a..24700c211d52 100644 --- a/drivers/media/video/ivtv/ivtv-i2c.c +++ b/drivers/media/video/ivtv/ivtv-i2c.c | |||
@@ -64,8 +64,6 @@ | |||
64 | #include "ivtv-gpio.h" | 64 | #include "ivtv-gpio.h" |
65 | #include "ivtv-i2c.h" | 65 | #include "ivtv-i2c.h" |
66 | 66 | ||
67 | #include <media/ir-kbd-i2c.h> | ||
68 | |||
69 | /* i2c implementation for cx23415/6 chip, ivtv project. | 67 | /* i2c implementation for cx23415/6 chip, ivtv project. |
70 | * Author: Kevin Thayer (nufan_wfk at yahoo.com) | 68 | * Author: Kevin Thayer (nufan_wfk at yahoo.com) |
71 | */ | 69 | */ |