summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/wm8739.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/wm8739.c')
-rw-r--r--linux/drivers/media/video/wm8739.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/linux/drivers/media/video/wm8739.c b/linux/drivers/media/video/wm8739.c
index d448dcf6e..1eb8ef8a5 100644
--- a/linux/drivers/media/video/wm8739.c
+++ b/linux/drivers/media/video/wm8739.c
@@ -31,10 +31,6 @@
#include <media/v4l2-common.h>
#include <media/v4l2-chip-ident.h>
#include <media/v4l2-i2c-drv.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0)
-#include "i2c-compat.h"
-#include <linux/slab.h>
-#endif
#include "compat.h"
MODULE_DESCRIPTION("wm8739 driver");
@@ -43,11 +39,7 @@ MODULE_LICENSE("GPL");
static int debug;
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
module_param(debug, int, 0644);
-#else
-MODULE_PARM(debug, "i");
-#endif
MODULE_PARM_DESC(debug, "Debug level (0-1)");
@@ -352,7 +344,3 @@ static struct v4l2_i2c_driver_data v4l2_i2c_data = {
.id_table = wm8739_id,
#endif
};
-
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0)
-EXPORT_NO_SYMBOLS;
-#endif