hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/vme/bridges/vme_ca91cx42.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Support for the Tundra Universe I/II VME-PCI Bridge Chips
34 *
....@@ -8,11 +9,6 @@
89 * Copyright 2004 Motorola Inc.
910 *
1011 * Derived from ca91c042.c by Michael Wyrick
11
- *
12
- * This program is free software; you can redistribute it and/or modify it
13
- * under the terms of the GNU General Public License as published by the
14
- * Free Software Foundation; either version 2 of the License, or (at your
15
- * option) any later version.
1612 */
1713
1814 #include <linux/module.h>
....@@ -558,7 +554,7 @@
558554 goto err_resource;
559555 }
560556
561
- image->kern_base = ioremap_nocache(
557
+ image->kern_base = ioremap(
562558 image->bus_resource.start, size);
563559 if (!image->kern_base) {
564560 dev_err(ca91cx42_bridge->parent, "Failed to remap resource\n");
....@@ -1642,7 +1638,7 @@
16421638 }
16431639
16441640 /* map registers in BAR 0 */
1645
- ca91cx42_device->base = ioremap_nocache(pci_resource_start(pdev, 0),
1641
+ ca91cx42_device->base = ioremap(pci_resource_start(pdev, 0),
16461642 4096);
16471643 if (!ca91cx42_device->base) {
16481644 dev_err(&pdev->dev, "Unable to remap CRG region\n");