.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * VFIO platform driver specialized for Calxeda xgmac reset |
---|
3 | 4 | * reset code is inherited from calxeda xgmac native driver |
---|
.. | .. |
---|
5 | 6 | * Copyright 2010-2011 Calxeda, Inc. |
---|
6 | 7 | * Copyright (c) 2015 Linaro Ltd. |
---|
7 | 8 | * www.linaro.org |
---|
8 | | - * |
---|
9 | | - * This program is free software; you can redistribute it and/or modify it |
---|
10 | | - * under the terms and conditions of the GNU General Public License, |
---|
11 | | - * version 2, as published by the Free Software Foundation. |
---|
12 | | - * |
---|
13 | | - * This program is distributed in the hope it will be useful, but WITHOUT |
---|
14 | | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
---|
15 | | - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
---|
16 | | - * more details. |
---|
17 | | - * |
---|
18 | | - * You should have received a copy of the GNU General Public License along with |
---|
19 | | - * this program. If not, see <http://www.gnu.org/licenses/>. |
---|
20 | 9 | */ |
---|
21 | 10 | |
---|
22 | 11 | #include <linux/module.h> |
---|
.. | .. |
---|
24 | 13 | #include <linux/init.h> |
---|
25 | 14 | #include <linux/io.h> |
---|
26 | 15 | |
---|
27 | | -#include "vfio_platform_private.h" |
---|
| 16 | +#include "../vfio_platform_private.h" |
---|
28 | 17 | |
---|
29 | 18 | #define DRIVER_VERSION "0.1" |
---|
30 | 19 | #define DRIVER_AUTHOR "Eric Auger <eric.auger@linaro.org>" |
---|
.. | .. |
---|
63 | 52 | |
---|
64 | 53 | if (!reg->ioaddr) { |
---|
65 | 54 | reg->ioaddr = |
---|
66 | | - ioremap_nocache(reg->addr, reg->size); |
---|
| 55 | + ioremap(reg->addr, reg->size); |
---|
67 | 56 | if (!reg->ioaddr) |
---|
68 | 57 | return -ENOMEM; |
---|
69 | 58 | } |
---|