hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/vme/bridges/vme_tsi148.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Support for the Tundra TSI148 VME-PCI Bridge Chip
34 *
....@@ -6,11 +7,6 @@
67 *
78 * Based on work by Tom Armistead and Ajit Prem
89 * Copyright 2004 Motorola Inc.
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
12
- * Free Software Foundation; either version 2 of the License, or (at your
13
- * option) any later version.
1410 */
1511
1612 #include <linux/module.h>
....@@ -774,7 +770,7 @@
774770 goto err_resource;
775771 }
776772
777
- image->kern_base = ioremap_nocache(
773
+ image->kern_base = ioremap(
778774 image->bus_resource.start, size);
779775 if (!image->kern_base) {
780776 dev_err(tsi148_bridge->parent, "Failed to remap resource\n");
....@@ -2321,7 +2317,7 @@
23212317 }
23222318
23232319 /* map registers in BAR 0 */
2324
- tsi148_device->base = ioremap_nocache(pci_resource_start(pdev, 0),
2320
+ tsi148_device->base = ioremap(pci_resource_start(pdev, 0),
23252321 4096);
23262322 if (!tsi148_device->base) {
23272323 dev_err(&pdev->dev, "Unable to remap CRG region\n");