hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * VFIO platform driver specialized for Calxeda xgmac reset
34 * reset code is inherited from calxeda xgmac native driver
....@@ -5,18 +6,6 @@
56 * Copyright 2010-2011 Calxeda, Inc.
67 * Copyright (c) 2015 Linaro Ltd.
78 * 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/>.
209 */
2110
2211 #include <linux/module.h>
....@@ -24,7 +13,7 @@
2413 #include <linux/init.h>
2514 #include <linux/io.h>
2615
27
-#include "vfio_platform_private.h"
16
+#include "../vfio_platform_private.h"
2817
2918 #define DRIVER_VERSION "0.1"
3019 #define DRIVER_AUTHOR "Eric Auger <eric.auger@linaro.org>"
....@@ -63,7 +52,7 @@
6352
6453 if (!reg->ioaddr) {
6554 reg->ioaddr =
66
- ioremap_nocache(reg->addr, reg->size);
55
+ ioremap(reg->addr, reg->size);
6756 if (!reg->ioaddr)
6857 return -ENOMEM;
6958 }