hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/mtd/maps/pci.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * linux/drivers/mtd/maps/pci.c
34 *
45 * Copyright (C) 2001 Russell King, All rights reserved.
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
96 *
107 * Generic PCI memory map driver. We support the following boards:
118 * - Intel IQ80310 ATU.
....@@ -97,7 +94,7 @@
9794 map->map.write = mtd_pci_write8,
9895
9996 map->map.size = 0x00800000;
100
- map->base = ioremap_nocache(pci_resource_start(dev, 0),
97
+ map->base = ioremap(pci_resource_start(dev, 0),
10198 pci_resource_len(dev, 0));
10299
103100 if (!map->base)
....@@ -191,7 +188,7 @@
191188 map->map.read = mtd_pci_read32,
192189 map->map.write = mtd_pci_write32,
193190 map->map.size = len;
194
- map->base = ioremap_nocache(base, len);
191
+ map->base = ioremap(base, len);
195192
196193 if (!map->base)
197194 return -ENOMEM;