Skip to content

Commit

Permalink
driver core: fw_devlink_relax_cycle() can be static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
kernel test robot authored and Greg Kroah-Hartman committed Jan 7, 2021
1 parent b0e2fa4 commit c13b827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/base/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c13b827

Please sign in to comment.