forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
kernel/arch/arc/include/asm/io.h
....@@ -1,9 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License version 2 as
6
- * published by the Free Software Foundation.
74 */
85
96 #ifndef _ASM_ARC_IO_H
....@@ -35,11 +32,7 @@
3532 {
3633 }
3734
38
-extern void iounmap(const void __iomem *addr);
39
-
40
-#define ioremap_nocache(phy, sz) ioremap(phy, sz)
41
-#define ioremap_wc(phy, sz) ioremap(phy, sz)
42
-#define ioremap_wt(phy, sz) ioremap(phy, sz)
35
+extern void iounmap(const volatile void __iomem *addr);
4336
4437 /*
4538 * io{read,write}{16,32}be() macros