[ALSA] Remove xxx_t typedefs: I2C drivers
Remove xxx_t typedefs from the i2c drivers. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
committed by
Jaroslav Kysela
parent
a42dd420be
commit
97f02e05f2
@@ -36,7 +36,7 @@
|
||||
#endif
|
||||
|
||||
|
||||
SND_CS8403_DECL void SND_CS8403_DECODE(snd_aes_iec958_t *diga, unsigned char bits)
|
||||
SND_CS8403_DECL void SND_CS8403_DECODE(struct snd_aes_iec958 *diga, unsigned char bits)
|
||||
{
|
||||
if (bits & 0x01) { /* consumer */
|
||||
if (!(bits & 0x02))
|
||||
@@ -79,7 +79,7 @@ SND_CS8403_DECL void SND_CS8403_DECODE(snd_aes_iec958_t *diga, unsigned char bit
|
||||
}
|
||||
}
|
||||
|
||||
SND_CS8403_DECL unsigned char SND_CS8403_ENCODE(snd_aes_iec958_t *diga)
|
||||
SND_CS8403_DECL unsigned char SND_CS8403_ENCODE(struct snd_aes_iec958 *diga)
|
||||
{
|
||||
unsigned char bits;
|
||||
|
||||
@@ -166,7 +166,7 @@ SND_CS8403_DECL unsigned char SND_CS8403_ENCODE(snd_aes_iec958_t *diga)
|
||||
#endif
|
||||
|
||||
|
||||
SND_CS8404_DECL void SND_CS8404_DECODE(snd_aes_iec958_t *diga, unsigned char bits)
|
||||
SND_CS8404_DECL void SND_CS8404_DECODE(struct snd_aes_iec958 *diga, unsigned char bits)
|
||||
{
|
||||
if (bits & 0x10) { /* consumer */
|
||||
if (!(bits & 0x20))
|
||||
@@ -205,7 +205,7 @@ SND_CS8404_DECL void SND_CS8404_DECODE(snd_aes_iec958_t *diga, unsigned char bit
|
||||
}
|
||||
}
|
||||
|
||||
SND_CS8404_DECL unsigned char SND_CS8404_ENCODE(snd_aes_iec958_t *diga)
|
||||
SND_CS8404_DECL unsigned char SND_CS8404_ENCODE(struct snd_aes_iec958 *diga)
|
||||
{
|
||||
unsigned char bits;
|
||||
|
||||
|
Reference in New Issue
Block a user