]> git.pld-linux.org Git - packages/btsco.git/commitdiff
- partial update to linux 2.6.21, NFY
authorblekot <blekot@pld-linux.org>
Wed, 20 Jun 2007 19:47:57 +0000 (19:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    btsco-kernel.patch -> 1.2

btsco-kernel.patch

index e0e03c4292141457a459165c0c4dcbeea8e767d3..84e6a59b1555f8e24db496d7c50606af87e0dcc0 100644 (file)
@@ -1,5 +1,5 @@
---- btsco-0.5/kernel/btsco.c.org       2007-06-11 19:10:06.000000000 +0200
-+++ btsco-0.5/kernel/btsco.c   2007-06-11 19:10:58.000000000 +0200
+--- btsco.old/kernel/btsco.c   2006-10-28 16:39:27.000000000 +0200
++++ btsco-0.5/kernel/btsco.c   2007-06-20 21:39:24.000000000 +0200
 @@ -51,6 +51,7 @@
  #include <linux/time.h>
  #include <linux/wait.h>
@@ -8,3 +8,44 @@
  #include <linux/file.h>
  #include <linux/completion.h>
  #include <linux/smp_lock.h>
+@@ -124,13 +125,13 @@
+ } snd_card_bt_sco_info_t;
+ typedef struct snd_card_bt_sco {
+-      snd_card_t *card;
++      struct snd_card_t *card;
+       spinlock_t mixer_lock;
+       int mixer_volume[MIXER_ADDR_LAST + 1];
+ #ifdef DYNAMIC_COMPRESSION
+-      snd_kcontrol_t *mixer_controls[MIXER_ADDR_LAST + 2 + 1];        /* also loopback and agc */
++      struct snd_kcontrol_t *mixer_controls[MIXER_ADDR_LAST + 2 + 1]; /* also loopback and agc */
+ #else
+-      snd_kcontrol_t *mixer_controls[MIXER_ADDR_LAST + 2 ];   /* also loopback */
++      struct snd_kcontrol_t *mixer_controls[MIXER_ADDR_LAST + 2 ];    /* also loopback */
+ #endif
+       volatile int loopback;
+ #ifdef DYNAMIC_COMPRESSION
+@@ -168,17 +169,17 @@
+       unsigned int pcm_bps;   /* bytes per second */
+       unsigned int pcm_irq_pos;       /* IRQ position */
+       unsigned int pcm_buf_pos;       /* position in buffer */
+-      snd_pcm_substream_t *substream;
++      struct snd_pcm_substream_t *substream;
+ } snd_card_bt_sco_pcm_t;
+-static snd_card_t *snd_bt_sco_cards[SNDRV_CARDS] = SNDRV_DEFAULT_PTR;
++static struct snd_card_t *snd_bt_sco_cards[SNDRV_CARDS] = SNDRV_DEFAULT_PTR;
+-static int snd_card_bt_sco_playback_trigger(snd_pcm_substream_t *
++static int snd_card_bt_sco_playback_trigger(struct snd_pcm_substream_t *
+                                           substream, int cmd)
+ {
+-      snd_pcm_runtime_t *runtime = substream->runtime;
+-      snd_card_bt_sco_pcm_t *bspcm = runtime->private_data;
+-      snd_card_bt_sco_t *bt_sco = snd_pcm_substream_chip(substream);
++      struct snd_pcm_runtime_t *runtime = substream->runtime;
++      struct snd_card_bt_sco_pcm_t *bspcm = runtime->private_data;
++      struct snd_card_bt_sco_t *bt_sco = snd_pcm_substream_chip(substream);
+       dprintk("playback_trigger %d\n", cmd);
This page took 0.056708 seconds and 4 git commands to generate.