diff options
Diffstat (limited to 'drivers/char/applicom.c')
-rw-r--r-- | drivers/char/applicom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/applicom.c b/drivers/char/applicom.c index a7c4990b5b6b..31d08b641f5b 100644 --- a/drivers/char/applicom.c +++ b/drivers/char/applicom.c | |||
@@ -199,7 +199,7 @@ static int __init applicom_init(void) | |||
199 | if (pci_enable_device(dev)) | 199 | if (pci_enable_device(dev)) |
200 | return -EIO; | 200 | return -EIO; |
201 | 201 | ||
202 | RamIO = ioremap(pci_resource_start(dev, 0), LEN_RAM_IO); | 202 | RamIO = ioremap_nocache(pci_resource_start(dev, 0), LEN_RAM_IO); |
203 | 203 | ||
204 | if (!RamIO) { | 204 | if (!RamIO) { |
205 | printk(KERN_INFO "ac.o: Failed to ioremap PCI memory " | 205 | printk(KERN_INFO "ac.o: Failed to ioremap PCI memory " |
@@ -254,7 +254,7 @@ static int __init applicom_init(void) | |||
254 | /* Now try the specified ISA cards */ | 254 | /* Now try the specified ISA cards */ |
255 | 255 | ||
256 | for (i = 0; i < MAX_ISA_BOARD; i++) { | 256 | for (i = 0; i < MAX_ISA_BOARD; i++) { |
257 | RamIO = ioremap(mem + (LEN_RAM_IO * i), LEN_RAM_IO); | 257 | RamIO = ioremap_nocache(mem + (LEN_RAM_IO * i), LEN_RAM_IO); |
258 | 258 | ||
259 | if (!RamIO) { | 259 | if (!RamIO) { |
260 | printk(KERN_INFO "ac.o: Failed to ioremap the ISA card's memory space (slot #%d)\n", i + 1); | 260 | printk(KERN_INFO "ac.o: Failed to ioremap the ISA card's memory space (slot #%d)\n", i + 1); |