Commit 20c104d0 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

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: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 7f8ecfab
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
#include <linux/i2c-algo-bit.h> #include <linux/i2c-algo-bit.h>
#include <linux/list.h> #include <linux/list.h>
#include <linux/unistd.h> #include <linux/unistd.h>
#include <linux/byteorder/swab.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/workqueue.h> #include <linux/workqueue.h>
#include <linux/mutex.h> #include <linux/mutex.h>
......
...@@ -27,8 +27,6 @@ ...@@ -27,8 +27,6 @@
#include "cx18-av-core.h" #include "cx18-av-core.h"
#include "cx18-i2c.h" #include "cx18-i2c.h"
#include <media/ir-kbd-i2c.h>
#define CX18_REG_I2C_1_WR 0xf15000 #define CX18_REG_I2C_1_WR 0xf15000
#define CX18_REG_I2C_1_RD 0xf15008 #define CX18_REG_I2C_1_RD 0xf15008
#define CX18_REG_I2C_2_WR 0xf25100 #define CX18_REG_I2C_2_WR 0xf25100
......
...@@ -49,7 +49,6 @@ ...@@ -49,7 +49,6 @@
#include <linux/i2c-algo-bit.h> #include <linux/i2c-algo-bit.h>
#include <linux/list.h> #include <linux/list.h>
#include <linux/unistd.h> #include <linux/unistd.h>
#include <linux/byteorder/swab.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/scatterlist.h> #include <linux/scatterlist.h>
#include <linux/workqueue.h> #include <linux/workqueue.h>
......
...@@ -64,8 +64,6 @@ ...@@ -64,8 +64,6 @@
#include "ivtv-gpio.h" #include "ivtv-gpio.h"
#include "ivtv-i2c.h" #include "ivtv-i2c.h"
#include <media/ir-kbd-i2c.h>
/* i2c implementation for cx23415/6 chip, ivtv project. /* i2c implementation for cx23415/6 chip, ivtv project.
* Author: Kevin Thayer (nufan_wfk at yahoo.com) * Author: Kevin Thayer (nufan_wfk at yahoo.com)
*/ */
......
...@@ -24,8 +24,6 @@ ...@@ -24,8 +24,6 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/byteorder/swab.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment