Commit e4209173 authored by Linus Torvalds's avatar Linus Torvalds

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
parents 2c1ada4f 0e3edd94
...@@ -472,7 +472,7 @@ static int software_node_read_string_array(const struct fwnode_handle *fwnode, ...@@ -472,7 +472,7 @@ static int software_node_read_string_array(const struct fwnode_handle *fwnode,
val, nval); val, nval);
} }
struct fwnode_handle * static struct fwnode_handle *
software_node_get_parent(const struct fwnode_handle *fwnode) software_node_get_parent(const struct fwnode_handle *fwnode)
{ {
struct software_node *swnode = to_software_node(fwnode); struct software_node *swnode = to_software_node(fwnode);
...@@ -481,7 +481,7 @@ software_node_get_parent(const struct fwnode_handle *fwnode) ...@@ -481,7 +481,7 @@ software_node_get_parent(const struct fwnode_handle *fwnode)
NULL; NULL;
} }
struct fwnode_handle * static struct fwnode_handle *
software_node_get_next_child(const struct fwnode_handle *fwnode, software_node_get_next_child(const struct fwnode_handle *fwnode,
struct fwnode_handle *child) struct fwnode_handle *child)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment