diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-03-28 22:32:32 +0200 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2007-03-28 22:32:32 +0200 |
commit | 8e617c8834fe2dde4e88ea9c2dcd9530c5b30839 (patch) | |
tree | 79f4d58bc6b824e2447907e4473074fecae2e452 /include | |
parent | 4eebc3a634130b6fc051034de488dfaff543e642 (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: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/ymfpci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/ymfpci.h b/include/sound/ymfpci.h index d567bfdbf513..efb9d5029a37 100644 --- a/include/sound/ymfpci.h +++ b/include/sound/ymfpci.h @@ -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; |