summaryrefslogtreecommitdiff
path: root/linux/sound/pci/bt87x.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/sound/pci/bt87x.c')
-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
};