diff options
Diffstat (limited to 'remoteproc')
-rw-r--r-- | remoteproc/corstone1000_es_reset.c | 13 | ||||
-rw-r--r-- | remoteproc/juno_fpga_reset.c | 8 |
2 files changed, 10 insertions, 11 deletions
diff --git a/remoteproc/corstone1000_es_reset.c b/remoteproc/corstone1000_es_reset.c index e62ebdb..bda57fe 100644 --- a/remoteproc/corstone1000_es_reset.c +++ b/remoteproc/corstone1000_es_reset.c @@ -1,5 +1,6 @@ /* - * Copyright (c) 2022 Arm Limited. All rights reserved. + * SPDX-FileCopyrightText: Copyright 2022-2023 Arm Limited and/or its affiliates <open-source-office@arm.com> + * SPDX-License-Identifier: GPL-2.0-only * * This program is free software and is provided to you under the terms of the * GNU General Public License version 2 as published by the Free Software @@ -14,8 +15,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, you can access it online at * http://www.gnu.org/licenses/gpl-2.0.html. - * - * SPDX-License-Identifier: GPL-2.0-only */ #include <linux/io.h> @@ -43,8 +42,8 @@ struct cs1k_es_reset_data { void __iomem *status; }; -int cs1k_es_assert(struct reset_controller_dev *rcdev, - unsigned long id) +static int cs1k_es_assert(struct reset_controller_dev *rcdev, + unsigned long id) { u32 status; struct cs1k_es_reset_data *reset = @@ -64,8 +63,8 @@ int cs1k_es_assert(struct reset_controller_dev *rcdev, return status == EXTSYS_STATUS_RST_REQ_COMPLETED ? 0 : 1; } -int cs1k_es_deassert(struct reset_controller_dev *rcdev, - unsigned long id) +static int cs1k_es_deassert(struct reset_controller_dev *rcdev, + unsigned long id) { u32 status; struct cs1k_es_reset_data *reset = diff --git a/remoteproc/juno_fpga_reset.c b/remoteproc/juno_fpga_reset.c index 0d29c20..901d1ca 100644 --- a/remoteproc/juno_fpga_reset.c +++ b/remoteproc/juno_fpga_reset.c @@ -67,8 +67,8 @@ static void __iomem *verify_and_remap(struct device *dev, return base; } -int juno_fpga_reset_assert(struct reset_controller_dev *rcdev, - unsigned long id) +static int juno_fpga_reset_assert(struct reset_controller_dev *rcdev, + unsigned long id) { struct juno_fpga_reset *reset = container_of(rcdev, struct juno_fpga_reset, @@ -89,8 +89,8 @@ int juno_fpga_reset_assert(struct reset_controller_dev *rcdev, return 0; } -int juno_fpga_reset_deassert(struct reset_controller_dev *rcdev, - unsigned long id) +static int juno_fpga_reset_deassert(struct reset_controller_dev *rcdev, + unsigned long id) { struct juno_fpga_reset *reset = container_of(rcdev, struct juno_fpga_reset, |