summaryrefslogtreecommitdiff
path: root/linux/sound/pci
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-07-08 17:40:58 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-07-08 17:40:58 +0200
commite9314ad63401c89bffe82b165eb7ae630c05a75d (patch)
treeb31a77f9ccfea646348025aae7452e900e61a761 /linux/sound/pci
parentd784aba6717da44bfef18007146f6d00280e39fe (diff)
downloadmediapointer-dvb-s2-e9314ad63401c89bffe82b165eb7ae630c05a75d.tar.gz
mediapointer-dvb-s2-e9314ad63401c89bffe82b165eb7ae630c05a75d.tar.bz2
v4l-dvb: remove support for kernels < 2.6.16
From: Hans Verkuil <hverkuil@xs4all.nl> Phase 4 removes the compatibility support for kernels < 2.6.16. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/sound/pci')
-rw-r--r--linux/sound/pci/bt87x.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/linux/sound/pci/bt87x.c b/linux/sound/pci/bt87x.c
index f9775c090..c33300f22 100644
--- a/linux/sound/pci/bt87x.c
+++ b/linux/sound/pci/bt87x.c
@@ -409,21 +409,13 @@ static int snd_bt87x_set_digital_hw(struct snd_bt87x *chip, struct snd_pcm_runti
static int snd_bt87x_set_analog_hw(struct snd_bt87x *chip, struct snd_pcm_runtime *runtime)
{
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)
static struct snd_ratnum analog_clock = {
-#else
- static ratnum_t analog_clock = {
-#endif
.num = ANALOG_CLOCK,
.den_min = CLOCK_DIV_MIN,
.den_max = CLOCK_DIV_MAX,
.den_step = 1
};
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)
static struct snd_pcm_hw_constraint_ratnums constraint_rates = {
-#else
- static snd_pcm_hw_constraint_ratnums_t constraint_rates = {
-#endif
.nrats = 1,
.rats = &analog_clock
};
@@ -750,11 +742,7 @@ static int __devinit snd_bt87x_create(struct snd_card *card,
{
struct snd_bt87x *chip;
int err;
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)
static struct snd_device_ops ops = {
-#else
- static snd_device_ops_t ops = {
-#endif
.dev_free = snd_bt87x_dev_free
};