[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>
This commit is contained in:

committed by
Jaroslav Kysela

parent
e3a5d59a17
commit
01f681da49
@@ -286,7 +286,7 @@ struct snd_ymfpci {
|
||||
int irq;
|
||||
|
||||
unsigned int device_id; /* PCI device ID */
|
||||
unsigned int rev; /* PCI revision */
|
||||
unsigned char rev; /* PCI revision */
|
||||
unsigned long reg_area_phys;
|
||||
void __iomem *reg_area_virt;
|
||||
struct resource *res_reg_area;
|
||||
|
Reference in New Issue
Block a user