diff options
author | kernel test robot <lkp@intel.com> | 2020-12-18 09:39:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-07 23:04:37 +0300 |
commit | c13b827927112ba6170bea31c638a8573c127461 (patch) | |
tree | 95a286018b9ae73d37984975d491411ded7994d5 /drivers/base | |
parent | b0e2fa4f611bb9ab22928605d5b1c7fd44e73955 (diff) | |
download | linux-c13b827927112ba6170bea31c638a8573c127461.tar.xz |
driver core: fw_devlink_relax_cycle() can be static
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20201218063934.GA66003@e60698be8304
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c index 4cc030361165..4e15193aafad 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@ -1519,7 +1519,7 @@ static void fw_devlink_parse_fwtree(struct fwnode_handle *fwnode) * * Return 1 if a cycle is found. Otherwise, return 0. */ -int fw_devlink_relax_cycle(struct device *con, void *sup) +static int fw_devlink_relax_cycle(struct device *con, void *sup) { struct device_link *link; int ret; |