Commit c392ed4
tty/nozomi: use pci_iomap instead of ioremap_nocache
Use pci_iomap instead of ioremap_nocache in nozomi_card_init(). This
is a cleaner way to do PCI MMIO (performs additional checks) and
allows to drop the manual call to pci_resource_start.
pci_iomap relies on ioremap for MMIO and thus has uncached behavior.
Signed-off-by: Hugo Lefeuvre <hle@owl.eu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 1355cba commit c392ed4
1 file changed
+1
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1317 | 1317 | | |
1318 | 1318 | | |
1319 | 1319 | | |
1320 | | - | |
1321 | 1320 | | |
1322 | 1321 | | |
1323 | 1322 | | |
| |||
1357 | 1356 | | |
1358 | 1357 | | |
1359 | 1358 | | |
1360 | | - | |
1361 | | - | |
1362 | | - | |
1363 | | - | |
1364 | | - | |
1365 | | - | |
1366 | | - | |
1367 | 1359 | | |
1368 | 1360 | | |
1369 | 1361 | | |
1370 | | - | |
| 1362 | + | |
1371 | 1363 | | |
1372 | 1364 | | |
1373 | 1365 | | |
| |||
0 commit comments