projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove ioremap_nocache and devm_ioremap_nocache
[linux-2.6-block.git]
/
Documentation
/
sound
/
kernel-api
/
writing-an-alsa-driver.rst
diff --git
a/Documentation/sound/kernel-api/writing-an-alsa-driver.rst
b/Documentation/sound/kernel-api/writing-an-alsa-driver.rst
index f169d58ca019a30f212c81e93c3f1a64b55802cf..ddef812ddf8fb429762156ef6008113e8ab50641 100644
(file)
--- a/
Documentation/sound/kernel-api/writing-an-alsa-driver.rst
+++ b/
Documentation/sound/kernel-api/writing-an-alsa-driver.rst
@@
-1058,7
+1058,7
@@
and the allocation would be like below:
return err;
}
chip->iobase_phys = pci_resource_start(pci, 0);
- chip->iobase_virt = ioremap
_nocache
(chip->iobase_phys,
+ chip->iobase_virt = ioremap(chip->iobase_phys,
pci_resource_len(pci, 0));
and the corresponding destructor would be: