diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-11-17 08:50:13 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:18:47 -0500 |
commit | eb4698f347ec908c365504c4edddadd1acd406ea (patch) | |
tree | 4962019c8bf4a52e35ab55137e17aa150edf9661 /sound/pci/emu10k1/timer.c | |
parent | 3d19f804ef5f1d15fe001fc8d1ed58fac9d591fb (diff) |
[ALSA] Remove xxx_t typedefs: PCI emu10k1
Modules: EMU10K1/EMU10K2 driver
Remove xxx_t typedefs from the PCI emu10k1 driver.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/emu10k1/timer.c')
-rw-r--r-- | sound/pci/emu10k1/timer.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sound/pci/emu10k1/timer.c b/sound/pci/emu10k1/timer.c index d2e364607c1d..6295b2dca785 100644 --- a/sound/pci/emu10k1/timer.c +++ b/sound/pci/emu10k1/timer.c | |||
@@ -30,9 +30,9 @@ | |||
30 | #include <sound/core.h> | 30 | #include <sound/core.h> |
31 | #include <sound/emu10k1.h> | 31 | #include <sound/emu10k1.h> |
32 | 32 | ||
33 | static int snd_emu10k1_timer_start(snd_timer_t *timer) | 33 | static int snd_emu10k1_timer_start(struct snd_timer *timer) |
34 | { | 34 | { |
35 | emu10k1_t *emu; | 35 | struct snd_emu10k1 *emu; |
36 | unsigned long flags; | 36 | unsigned long flags; |
37 | unsigned int delay; | 37 | unsigned int delay; |
38 | 38 | ||
@@ -47,9 +47,9 @@ static int snd_emu10k1_timer_start(snd_timer_t *timer) | |||
47 | return 0; | 47 | return 0; |
48 | } | 48 | } |
49 | 49 | ||
50 | static int snd_emu10k1_timer_stop(snd_timer_t *timer) | 50 | static int snd_emu10k1_timer_stop(struct snd_timer *timer) |
51 | { | 51 | { |
52 | emu10k1_t *emu; | 52 | struct snd_emu10k1 *emu; |
53 | unsigned long flags; | 53 | unsigned long flags; |
54 | 54 | ||
55 | emu = snd_timer_chip(timer); | 55 | emu = snd_timer_chip(timer); |
@@ -59,7 +59,7 @@ static int snd_emu10k1_timer_stop(snd_timer_t *timer) | |||
59 | return 0; | 59 | return 0; |
60 | } | 60 | } |
61 | 61 | ||
62 | static int snd_emu10k1_timer_precise_resolution(snd_timer_t *timer, | 62 | static int snd_emu10k1_timer_precise_resolution(struct snd_timer *timer, |
63 | unsigned long *num, unsigned long *den) | 63 | unsigned long *num, unsigned long *den) |
64 | { | 64 | { |
65 | *num = 1; | 65 | *num = 1; |
@@ -67,7 +67,7 @@ static int snd_emu10k1_timer_precise_resolution(snd_timer_t *timer, | |||
67 | return 0; | 67 | return 0; |
68 | } | 68 | } |
69 | 69 | ||
70 | static struct _snd_timer_hardware snd_emu10k1_timer_hw = { | 70 | static struct snd_timer_hardware snd_emu10k1_timer_hw = { |
71 | .flags = SNDRV_TIMER_HW_AUTO, | 71 | .flags = SNDRV_TIMER_HW_AUTO, |
72 | .resolution = 20833, /* 1 sample @ 48KHZ = 20.833...us */ | 72 | .resolution = 20833, /* 1 sample @ 48KHZ = 20.833...us */ |
73 | .ticks = 1024, | 73 | .ticks = 1024, |
@@ -76,10 +76,10 @@ static struct _snd_timer_hardware snd_emu10k1_timer_hw = { | |||
76 | .precise_resolution = snd_emu10k1_timer_precise_resolution, | 76 | .precise_resolution = snd_emu10k1_timer_precise_resolution, |
77 | }; | 77 | }; |
78 | 78 | ||
79 | int __devinit snd_emu10k1_timer(emu10k1_t *emu, int device) | 79 | int __devinit snd_emu10k1_timer(struct snd_emu10k1 *emu, int device) |
80 | { | 80 | { |
81 | snd_timer_t *timer = NULL; | 81 | struct snd_timer *timer = NULL; |
82 | snd_timer_id_t tid; | 82 | struct snd_timer_id tid; |
83 | int err; | 83 | int err; |
84 | 84 | ||
85 | tid.dev_class = SNDRV_TIMER_CLASS_CARD; | 85 | tid.dev_class = SNDRV_TIMER_CLASS_CARD; |