diff options
Diffstat (limited to 'sound/pci/ymfpci/ymfpci_main.c')
-rw-r--r-- | sound/pci/ymfpci/ymfpci_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ymfpci/ymfpci_main.c b/sound/pci/ymfpci/ymfpci_main.c index ea861bceaddf..ab7a81c35705 100644 --- a/sound/pci/ymfpci/ymfpci_main.c +++ b/sound/pci/ymfpci/ymfpci_main.c | |||
@@ -2404,7 +2404,7 @@ int __devinit snd_ymfpci_create(struct snd_card *card, | |||
2404 | chip->pci = pci; | 2404 | chip->pci = pci; |
2405 | chip->irq = -1; | 2405 | chip->irq = -1; |
2406 | chip->device_id = pci->device; | 2406 | chip->device_id = pci->device; |
2407 | pci_read_config_byte(pci, PCI_REVISION_ID, &chip->rev); | 2407 | chip->rev = pci->revision; |
2408 | chip->reg_area_phys = pci_resource_start(pci, 0); | 2408 | chip->reg_area_phys = pci_resource_start(pci, 0); |
2409 | chip->reg_area_virt = ioremap_nocache(chip->reg_area_phys, 0x8000); | 2409 | chip->reg_area_virt = ioremap_nocache(chip->reg_area_phys, 0x8000); |
2410 | pci_set_master(pci); | 2410 | pci_set_master(pci); |