mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
[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:
parent
e3a5d59a17
commit
01f681da49
5 changed files with 6 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue