[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: Adrian Bunk <bunk@stusta.de>
This commit is contained in:
committed by
Adrian Bunk
parent
4eebc3a634
commit
8e617c8834
@@ -285,7 +285,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