diff options
| author | Takashi Iwai <tiwai@suse.de> | 2005-11-17 07:56:05 -0500 |
|---|---|---|
| committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:17:34 -0500 |
| commit | 53d2f744afc1fcb4fb68975a443fb66eb6c44da4 (patch) | |
| tree | 46db033f71a8da32470d4b5f1027cee379fc7914 /sound/core/timer_compat.c | |
| parent | 82e9bae6fd253af4aea9c690223c7800313632ad (diff) | |
[ALSA] Remove xxx_t typedefs: Timer
Modules: RTC timer driver,Timer Midlevel
Remove xxx_t typedefs from the core timer.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/timer_compat.c')
| -rw-r--r-- | sound/core/timer_compat.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sound/core/timer_compat.c b/sound/core/timer_compat.c index 3de552dfe80f..5512f5373c52 100644 --- a/sound/core/timer_compat.c +++ b/sound/core/timer_compat.c | |||
| @@ -22,7 +22,7 @@ | |||
| 22 | 22 | ||
| 23 | #include <linux/compat.h> | 23 | #include <linux/compat.h> |
| 24 | 24 | ||
| 25 | struct sndrv_timer_info32 { | 25 | struct snd_timer_info32 { |
| 26 | u32 flags; | 26 | u32 flags; |
| 27 | s32 card; | 27 | s32 card; |
| 28 | unsigned char id[64]; | 28 | unsigned char id[64]; |
| @@ -33,11 +33,11 @@ struct sndrv_timer_info32 { | |||
| 33 | }; | 33 | }; |
| 34 | 34 | ||
| 35 | static int snd_timer_user_info_compat(struct file *file, | 35 | static int snd_timer_user_info_compat(struct file *file, |
| 36 | struct sndrv_timer_info32 __user *_info) | 36 | struct snd_timer_info32 __user *_info) |
| 37 | { | 37 | { |
| 38 | snd_timer_user_t *tu; | 38 | struct snd_timer_user *tu; |
| 39 | struct sndrv_timer_info32 info; | 39 | struct snd_timer_info32 info; |
| 40 | snd_timer_t *t; | 40 | struct snd_timer *t; |
| 41 | 41 | ||
| 42 | tu = file->private_data; | 42 | tu = file->private_data; |
| 43 | snd_assert(tu->timeri != NULL, return -ENXIO); | 43 | snd_assert(tu->timeri != NULL, return -ENXIO); |
| @@ -55,7 +55,7 @@ static int snd_timer_user_info_compat(struct file *file, | |||
| 55 | return 0; | 55 | return 0; |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | struct sndrv_timer_status32 { | 58 | struct snd_timer_status32 { |
| 59 | struct compat_timespec tstamp; | 59 | struct compat_timespec tstamp; |
| 60 | u32 resolution; | 60 | u32 resolution; |
| 61 | u32 lost; | 61 | u32 lost; |
| @@ -65,10 +65,10 @@ struct sndrv_timer_status32 { | |||
| 65 | }; | 65 | }; |
| 66 | 66 | ||
| 67 | static int snd_timer_user_status_compat(struct file *file, | 67 | static int snd_timer_user_status_compat(struct file *file, |
| 68 | struct sndrv_timer_status32 __user *_status) | 68 | struct snd_timer_status32 __user *_status) |
| 69 | { | 69 | { |
| 70 | snd_timer_user_t *tu; | 70 | struct snd_timer_user *tu; |
| 71 | snd_timer_status_t status; | 71 | struct snd_timer_status status; |
| 72 | 72 | ||
| 73 | tu = file->private_data; | 73 | tu = file->private_data; |
| 74 | snd_assert(tu->timeri != NULL, return -ENXIO); | 74 | snd_assert(tu->timeri != NULL, return -ENXIO); |
| @@ -89,8 +89,8 @@ static int snd_timer_user_status_compat(struct file *file, | |||
| 89 | */ | 89 | */ |
| 90 | 90 | ||
| 91 | enum { | 91 | enum { |
| 92 | SNDRV_TIMER_IOCTL_INFO32 = _IOR('T', 0x11, struct sndrv_timer_info32), | 92 | SNDRV_TIMER_IOCTL_INFO32 = _IOR('T', 0x11, struct snd_timer_info32), |
| 93 | SNDRV_TIMER_IOCTL_STATUS32 = _IOW('T', 0x14, struct sndrv_timer_status32), | 93 | SNDRV_TIMER_IOCTL_STATUS32 = _IOW('T', 0x14, struct snd_timer_status32), |
| 94 | }; | 94 | }; |
| 95 | 95 | ||
| 96 | static long snd_timer_user_ioctl_compat(struct file *file, unsigned int cmd, unsigned long arg) | 96 | static long snd_timer_user_ioctl_compat(struct file *file, unsigned int cmd, unsigned long arg) |
