From 8e617c8834fe2dde4e88ea9c2dcd9530c5b30839 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 28 Mar 2007 22:32:32 +0200 Subject: [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 Signed-off-by: Adrian Bunk --- include/sound/ymfpci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/sound/ymfpci.h b/include/sound/ymfpci.h index d567bfdbf51..efb9d5029a3 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; -- cgit v1.2.3-18-g5258