diff options
author | Mikael Olsson <mikael.olsson@arm.com> | 2023-11-14 10:42:14 +0100 |
---|---|---|
committer | Mikael Olsson <mikael.olsson@arm.com> | 2023-11-14 14:22:46 +0100 |
commit | 404a536f84d7ccebd5e2a09633dba9d0c2eb67bb (patch) | |
tree | a3a5ede03c971f6587790643eafa7ccab2400e7c /remoteproc/corstone1000_es_reset.c | |
parent | 9f176ba0e99b131b790038948af51c62c2d46b8c (diff) | |
download | ethos-u-linux-driver-stack-404a536f84d7ccebd5e2a09633dba9d0c2eb67bb.tar.gz |
Make internal functions static in kernel modules
Internal functions in some of the kernel modules were not marked as
static and have now been fixed.
Change-Id: Ibec000e4370f2438e7190a9178e05513fcccda26
Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
Diffstat (limited to 'remoteproc/corstone1000_es_reset.c')
-rw-r--r-- | remoteproc/corstone1000_es_reset.c | 13 |
1 files changed, 6 insertions, 7 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 = |