| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /** |
|---|
| 2 | 3 | * tpci200.c |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 6 | 7 | * Copyright (C) 2009-2012 CERN (www.cern.ch) |
|---|
| 7 | 8 | * Author: Nicolas Serafini, EIC2 SA |
|---|
| 8 | 9 | * Author: Samuel Iglesias Gonsalvez <siglesias@igalia.com> |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 11 | | - * under the terms of the GNU General Public License as published by the Free |
|---|
| 12 | | - * Software Foundation; version 2 of the License. |
|---|
| 13 | 10 | */ |
|---|
| 14 | 11 | |
|---|
| 15 | 12 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 298 | 295 | |
|---|
| 299 | 296 | /* Map internal tpci200 driver user space */ |
|---|
| 300 | 297 | tpci200->info->interface_regs = |
|---|
| 301 | | - ioremap_nocache(pci_resource_start(tpci200->info->pdev, |
|---|
| 298 | + ioremap(pci_resource_start(tpci200->info->pdev, |
|---|
| 302 | 299 | TPCI200_IP_INTERFACE_BAR), |
|---|
| 303 | 300 | TPCI200_IFACE_SIZE); |
|---|
| 304 | 301 | if (!tpci200->info->interface_regs) { |
|---|
| .. | .. |
|---|
| 546 | 543 | ret = -EBUSY; |
|---|
| 547 | 544 | goto err_tpci200_info; |
|---|
| 548 | 545 | } |
|---|
| 549 | | - tpci200->info->cfg_regs = ioremap_nocache( |
|---|
| 546 | + tpci200->info->cfg_regs = ioremap( |
|---|
| 550 | 547 | pci_resource_start(pdev, TPCI200_CFG_MEM_BAR), |
|---|
| 551 | 548 | pci_resource_len(pdev, TPCI200_CFG_MEM_BAR)); |
|---|
| 552 | 549 | if (!tpci200->info->cfg_regs) { |
|---|