Signed-off-by: kbuild test robot <l...@intel.com>
---
 thermal_netlink.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/thermal/thermal_netlink.c 
b/drivers/thermal/thermal_netlink.c
index a2bce846771e4..851db26e66465 100644
--- a/drivers/thermal/thermal_netlink.c
+++ b/drivers/thermal/thermal_netlink.c
@@ -66,7 +66,7 @@ static struct genl_family thermal_gnl_family;
 
 /************************** Sampling encoding *******************************/
 
-int thermal_genl_sampling_temp(int id, int temp)
+static int thermal_genl_sampling_temp(int id, int temp)
 {
        struct sk_buff *skb;
        void *hdr;
@@ -506,7 +506,7 @@ static cb_t cmd_cb[] = {
        [THERMAL_GENL_CMD_CDEV_GET]     = thermal_genl_cmd_cdev_get,
 };
 
-int thermal_genl_cmd_dumpit(struct sk_buff *skb, struct netlink_callback *cb)
+static int thermal_genl_cmd_dumpit(struct sk_buff *skb, struct 
netlink_callback *cb)
 {
        struct param p = { .msg = skb };
        const struct genl_dumpit_info *info = genl_dumpit_info(cb);
@@ -532,7 +532,7 @@ int thermal_genl_cmd_dumpit(struct sk_buff *skb, struct 
netlink_callback *cb)
        return ret;
 }
 
-int thermal_genl_cmd_doit(struct sk_buff *skb, struct genl_info *info)
+static int thermal_genl_cmd_doit(struct sk_buff *skb, struct genl_info *info)
 {
        struct param p = { .attrs = info->attrs };
        struct sk_buff *msg;

Reply via email to