hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/remoteproc/st_slim_rproc.c
....@@ -1,14 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * SLIM core rproc driver
34 *
45 * Copyright (C) 2016 STMicroelectronics
56 *
67 * Author: Peter Griffin <peter.griffin@linaro.org>
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License as published by
10
- * the Free Software Foundation; either version 2 of the License, or
11
- * (at your option) any later version.
128 */
139
1410 #include <linux/clk.h>
....@@ -178,7 +174,7 @@
178174 return 0;
179175 }
180176
181
-static void *slim_rproc_da_to_va(struct rproc *rproc, u64 da, int len)
177
+static void *slim_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem)
182178 {
183179 struct st_slim_rproc *slim_rproc = rproc->priv;
184180 void *va = NULL;
....@@ -195,7 +191,7 @@
195191 }
196192 }
197193
198
- dev_dbg(&rproc->dev, "da = 0x%llx len = 0x%x va = 0x%pK\n",
194
+ dev_dbg(&rproc->dev, "da = 0x%llx len = 0x%zx va = 0x%pK\n",
199195 da, len, va);
200196
201197 return va;