From e9314ad63401c89bffe82b165eb7ae630c05a75d Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Tue, 8 Jul 2008 17:40:58 +0200 Subject: v4l-dvb: remove support for kernels < 2.6.16 From: Hans Verkuil Phase 4 removes the compatibility support for kernels < 2.6.16. Signed-off-by: Hans Verkuil --- linux/sound/pci/bt87x.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'linux/sound/pci') 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 }; -- cgit v1.2.3