summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-11-05 20:04:56 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-11-05 20:04:56 -0200
commit7af33dc182a51e3feda1246207c939d8459dbd61 (patch)
tree81416520e5321725fa97909e5652ed7c87598893 /linux/drivers/media/dvb
parent1272389ee0a46d702d0dc471d791b9fae7668aed (diff)
parentb4efb4ebbf8e3e7d3d0230bf4a811f7dafeef9a0 (diff)
downloadmediapointer-dvb-s2-7af33dc182a51e3feda1246207c939d8459dbd61.tar.gz
mediapointer-dvb-s2-7af33dc182a51e3feda1246207c939d8459dbd61.tar.bz2
merge: http://linuxtv.org/hg/~anttip/af9015
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvbdev.c2
-rw-r--r--linux/drivers/media/dvb/dvb-usb/cinergyT2.h4
-rw-r--r--linux/drivers/media/dvb/frontends/si21xx.c1
-rw-r--r--linux/drivers/media/dvb/frontends/stb0899_drv.c9
4 files changed, 9 insertions, 7 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvbdev.c b/linux/drivers/media/dvb/dvb-core/dvbdev.c
index 7348f8ead..fa1adf9dd 100644
--- a/linux/drivers/media/dvb/dvb-core/dvbdev.c
+++ b/linux/drivers/media/dvb/dvb-core/dvbdev.c
@@ -261,7 +261,7 @@ int dvb_register_device(struct dvb_adapter *adap, struct dvb_device **pdvbdev,
#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 27)
clsdev = device_create(dvb_class, adap->device,
- MKDEV(DVB_MAJOR, minor,
+ MKDEV(DVB_MAJOR, minor),
dvbdev, "dvb%d.%s%d", adap->num, dnames[type], id);
#elif LINUX_VERSION_CODE == KERNEL_VERSION(2, 6, 27)
clsdev = device_create_drvdata(dvb_class, adap->device,
diff --git a/linux/drivers/media/dvb/dvb-usb/cinergyT2.h b/linux/drivers/media/dvb/dvb-usb/cinergyT2.h
index 11d79eb38..f008b41ad 100644
--- a/linux/drivers/media/dvb/dvb-usb/cinergyT2.h
+++ b/linux/drivers/media/dvb/dvb-usb/cinergyT2.h
@@ -30,7 +30,11 @@
#ifndef _DVB_USB_CINERGYT2_H_
#define _DVB_USB_CINERGYT2_H_
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 18)
#include <linux/usb/input.h>
+#else
+#include <linux/usb_input.h>
+#endif
#define DVB_USB_LOG_PREFIX "cinergyT2"
#include "dvb-usb.h"
diff --git a/linux/drivers/media/dvb/frontends/si21xx.c b/linux/drivers/media/dvb/frontends/si21xx.c
index 2f69a173d..216a532ab 100644
--- a/linux/drivers/media/dvb/frontends/si21xx.c
+++ b/linux/drivers/media/dvb/frontends/si21xx.c
@@ -8,7 +8,6 @@
* (at your option) any later version.
*
*/
-#include <linux/version.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
diff --git a/linux/drivers/media/dvb/frontends/stb0899_drv.c b/linux/drivers/media/dvb/frontends/stb0899_drv.c
index 02edf1760..63c547f31 100644
--- a/linux/drivers/media/dvb/frontends/stb0899_drv.c
+++ b/linux/drivers/media/dvb/frontends/stb0899_drv.c
@@ -272,9 +272,9 @@ int stb0899_read_reg(struct stb0899_state *state, unsigned int reg)
}
u32 _stb0899_read_s2reg(struct stb0899_state *state,
- u32 stb0899_i2cdev,
- u32 stb0899_base_addr,
- u16 stb0899_reg_offset)
+ u32 stb0899_i2cdev,
+ u32 stb0899_base_addr,
+ u16 stb0899_reg_offset)
{
int status;
u32 data;
@@ -372,7 +372,7 @@ err:
}
int stb0899_write_s2reg(struct stb0899_state *state,
- u32 stb0899_i2cdev,
+ u32 stb0899_i2cdev,
u32 stb0899_base_addr,
u16 stb0899_reg_offset,
u32 stb0899_data)
@@ -1932,7 +1932,6 @@ static struct dvb_frontend_ops stb0899_ops = {
.read_status = stb0899_read_status,
.read_snr = stb0899_read_snr,
.read_signal_strength = stb0899_read_signal_strength,
- .read_status = stb0899_read_status,
.read_ber = stb0899_read_ber,
.set_voltage = stb0899_set_voltage,