summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7111.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-07-02 15:39:57 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-02 15:39:57 -0300
commit56dee54783bcafee32bb681a221d4c9a2b517ca3 (patch)
tree7c235d7915b350af4e542e81b3bf385f7f6f99db /linux/drivers/media/video/saa7111.c
parentfc035425e7b3d9c08a27b6860bf1b28abb1454cf (diff)
downloadmediapointer-dvb-s2-56dee54783bcafee32bb681a221d4c9a2b517ca3.tar.gz
mediapointer-dvb-s2-56dee54783bcafee32bb681a221d4c9a2b517ca3.tar.bz2
Fix v4l-dvb backward compatibility
From: Mauro Carvalho Chehab <mchehab@infradead.org> Due to several internal API changes on kernel, kernel backward compatibility were lost. Basically, compat.h should be the last include for it to work properly. This patch basically reorders kernel headers to allow backward compat to work fine. Also: Some includes were added after some non-include macros, on old drivers. Better to keep all includes at the beginning of the files. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/saa7111.c')
-rw-r--r--linux/drivers/media/video/saa7111.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/linux/drivers/media/video/saa7111.c b/linux/drivers/media/video/saa7111.c
index 4c201e4bb..edd035470 100644
--- a/linux/drivers/media/video/saa7111.c
+++ b/linux/drivers/media/video/saa7111.c
@@ -37,24 +37,24 @@
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/signal.h>
+#include <linux/types.h>
+#include <linux/i2c.h>
#include <asm/io.h>
#include <asm/pgtable.h>
#include <asm/page.h>
-#include <linux/types.h>
+#include <asm/uaccess.h>
-#include "compat.h"
#include <linux/videodev.h>
-#include <asm/uaccess.h>
+#include <linux/video_decoder.h>
+#include "compat.h"
MODULE_DESCRIPTION("Philips SAA7111 video decoder driver");
MODULE_AUTHOR("Dave Perks");
MODULE_LICENSE("GPL");
-#include <linux/i2c.h>
#define I2C_NAME(s) (s)->name
-#include <linux/video_decoder.h>
static int debug = 0;
module_param(debug, int, 0644);