.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * IO definitions for the Hexagon architecture |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (c) 2010-2013, The Linux Foundation. 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 and |
---|
8 | | - * only version 2 as published by the Free Software Foundation. |
---|
9 | | - * |
---|
10 | | - * This program is distributed in the hope that it will be useful, |
---|
11 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
12 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
13 | | - * GNU General Public License for more details. |
---|
14 | | - * |
---|
15 | | - * You should have received a copy of the GNU General Public License |
---|
16 | | - * along with this program; if not, write to the Free Software |
---|
17 | | - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
---|
18 | | - * 02110-1301, USA. |
---|
19 | 6 | */ |
---|
20 | 7 | |
---|
21 | 8 | #ifndef _ASM_IO_H |
---|
.. | .. |
---|
40 | 27 | extern int remap_area_pages(unsigned long start, unsigned long phys_addr, |
---|
41 | 28 | unsigned long end, unsigned long flags); |
---|
42 | 29 | |
---|
43 | | -extern void __iounmap(const volatile void __iomem *addr); |
---|
| 30 | +extern void iounmap(const volatile void __iomem *addr); |
---|
44 | 31 | |
---|
45 | 32 | /* Defined in lib/io.c, needed for smc91x driver. */ |
---|
46 | 33 | extern void __raw_readsw(const void __iomem *addr, void *data, int wordlen); |
---|
.. | .. |
---|
184 | 171 | #define writew_relaxed __raw_writew |
---|
185 | 172 | #define writel_relaxed __raw_writel |
---|
186 | 173 | |
---|
187 | | -#define mmiowb() |
---|
188 | | - |
---|
189 | 174 | void __iomem *ioremap(unsigned long phys_addr, unsigned long size); |
---|
190 | | -#define ioremap_nocache ioremap |
---|
191 | 175 | #define ioremap_uc(X, Y) ioremap((X), (Y)) |
---|
192 | 176 | |
---|
193 | | - |
---|
194 | | -static inline void iounmap(volatile void __iomem *addr) |
---|
195 | | -{ |
---|
196 | | - __iounmap(addr); |
---|
197 | | -} |
---|
198 | 177 | |
---|
199 | 178 | #define __raw_writel writel |
---|
200 | 179 | |
---|