Skip to content

Commit e420917

Browse files
committed
Merge tag 'devprop-5.1-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull device properties framework fix from Rafael Wysocki: "Add missing 'static' in two places (YueHaibing)" * tag 'devprop-5.1-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: drivers: base: swnode: Make two functions static
2 parents 2c1ada4 + 0e3edd9 commit e420917

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/base/swnode.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ static int software_node_read_string_array(const struct fwnode_handle *fwnode,
472472
val, nval);
473473
}
474474

475-
struct fwnode_handle *
475+
static struct fwnode_handle *
476476
software_node_get_parent(const struct fwnode_handle *fwnode)
477477
{
478478
struct software_node *swnode = to_software_node(fwnode);
@@ -481,7 +481,7 @@ software_node_get_parent(const struct fwnode_handle *fwnode)
481481
NULL;
482482
}
483483

484-
struct fwnode_handle *
484+
static struct fwnode_handle *
485485
software_node_get_next_child(const struct fwnode_handle *fwnode,
486486
struct fwnode_handle *child)
487487
{

0 commit comments

Comments
 (0)