* cs5530.c - Initialisation code for Cyrix/NatSemi VSA1 softaudio
*
* (C) Copyright 2007 Ash Willis <ashwillis@programmer.net>
--- - * (C) Copyright 2003 Red Hat Inc <alan@redhat.com>
+++ + * (C) Copyright 2003 Red Hat Inc <alan@lxorguk.ukuu.org.uk>
*
* This driver was ported (shamelessly ripped ;) from oss/kahlua.c but I did
* mess with it a bit. The chip seems to have to have trouble with full duplex
}
chip->pci_base = pci_resource_start(pci, 0);
---- mem = ioremap_nocache(chip->pci_base, pci_resource_len(pci, 0));
++++ mem = pci_ioremap_bar(pci, 0);
if (mem == NULL) {
kfree(chip);
pci_disable_device(pci);
/*
* OSS sound core handling. Breaks out sound functions to submodules
*
--- - * Author: Alan Cox <alan.cox@linux.org>
+++ + * Author: Alan Cox <alan@lxorguk.ukuu.org.uk>
*
* Fixes:
*
else
sprintf(s->name, "sound/%s%d", name, r / SOUND_STEP);
--- device_create_drvdata(sound_class, dev,
--- MKDEV(SOUND_MAJOR, s->unit_minor),
--- NULL, s->name+6);
+++ device_create(sound_class, dev, MKDEV(SOUND_MAJOR, s->unit_minor),
+++ NULL, s->name+6);
return r;
fail: