diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-11-16 09:39:07 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@server.perex.cz> | 2006-12-20 02:55:55 -0500 |
commit | 01f681da496831eb3aff5a908cefdafe74dd263b (patch) | |
tree | e2b2aae6e7789139a63e5500774f0687788d53b7 /sound/pci/ca0106/ca0106.h | |
parent | e3a5d59a17e9a42e3f3e0e37342b2679bab2ff43 (diff) |
[ALSA] Fix invalid assignment of PCI revision
Fix the type of PCI revision to char from int and avoid invalid
assignment with pointer cast.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/ca0106/ca0106.h')
-rw-r--r-- | sound/pci/ca0106/ca0106.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ca0106/ca0106.h b/sound/pci/ca0106/ca0106.h index 9cb66c59f523..aaac6e5b4767 100644 --- a/sound/pci/ca0106/ca0106.h +++ b/sound/pci/ca0106/ca0106.h | |||
@@ -590,7 +590,7 @@ struct snd_ca0106 { | |||
590 | struct resource *res_port; | 590 | struct resource *res_port; |
591 | int irq; | 591 | int irq; |
592 | 592 | ||
593 | unsigned int revision; /* chip revision */ | 593 | unsigned char revision; /* chip revision */ |
594 | unsigned int serial; /* serial number */ | 594 | unsigned int serial; /* serial number */ |
595 | unsigned short model; /* subsystem id */ | 595 | unsigned short model; /* subsystem id */ |
596 | 596 | ||