diff options
author | kernel test robot <lkp@intel.com> | 2020-12-18 07:39:35 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-07 21:04:37 +0100 |
commit | c13b827927112ba6170bea31c638a8573c127461 (patch) | |
tree | 95a286018b9ae73d37984975d491411ded7994d5 /drivers/base/core.c | |
parent | driver core: Handle cycles in device links created by fw_devlink (diff) | |
download | linux-c13b827927112ba6170bea31c638a8573c127461.tar.xz linux-c13b827927112ba6170bea31c638a8573c127461.zip |
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/core.c')
-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; |