hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/sh/drivers/heartbeat.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * Generic heartbeat driver for regular LED banks
34 *
....@@ -13,10 +14,6 @@
1314 * traditionally used for strobing the load average. This use case is
1415 * handled by this driver, rather than giving each LED bit position its
1516 * own struct device.
16
- *
17
- * This file is subject to the terms and conditions of the GNU General Public
18
- * License. See the file "COPYING" in the main directory of this archive
19
- * for more details.
2017 */
2118 #include <linux/init.h>
2219 #include <linux/platform_device.h>
....@@ -99,7 +96,7 @@
9996 return -ENOMEM;
10097 }
10198
102
- hd->base = ioremap_nocache(res->start, resource_size(res));
99
+ hd->base = ioremap(res->start, resource_size(res));
103100 if (unlikely(!hd->base)) {
104101 dev_err(&pdev->dev, "ioremap failed\n");
105102