summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-11-16 15:39:07 +0100
committerJaroslav Kysela <perex@server.perex.cz>2006-12-20 08:55:55 +0100
commit01f681da496831eb3aff5a908cefdafe74dd263b (patch)
treee2b2aae6e7789139a63e5500774f0687788d53b7 /include
parente3a5d59a17e9a42e3f3e0e37342b2679bab2ff43 (diff)
downloadop-kernel-dev-01f681da496831eb3aff5a908cefdafe74dd263b.zip
op-kernel-dev-01f681da496831eb3aff5a908cefdafe74dd263b.tar.gz
[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 'include')
-rw-r--r--include/sound/ymfpci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/ymfpci.h b/include/sound/ymfpci.h
index a3c5de5..f3514ee 100644
--- a/include/sound/ymfpci.h
+++ b/include/sound/ymfpci.h
@@ -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;
OpenPOWER on IntegriCloud