aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/drivers')
-rw-r--r--arch/um/drivers/mcast_kern.c2
-rw-r--r--arch/um/drivers/mconsole_user.c2
-rw-r--r--arch/um/drivers/port_user.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/um/drivers/mcast_kern.c b/arch/um/drivers/mcast_kern.c
index 822092f149be..8c4378a76d63 100644
--- a/arch/um/drivers/mcast_kern.c
+++ b/arch/um/drivers/mcast_kern.c
@@ -58,7 +58,7 @@ static const struct net_kern_info mcast_kern_info = {
58 .write = mcast_write, 58 .write = mcast_write,
59}; 59};
60 60
61int mcast_setup(char *str, char **mac_out, void *data) 61static int mcast_setup(char *str, char **mac_out, void *data)
62{ 62{
63 struct mcast_init *init = data; 63 struct mcast_init *init = data;
64 char *port_str = NULL, *ttl_str = NULL, *remain; 64 char *port_str = NULL, *ttl_str = NULL, *remain;
diff --git a/arch/um/drivers/mconsole_user.c b/arch/um/drivers/mconsole_user.c
index 13af2f03ed84..f8cf4c8bedef 100644
--- a/arch/um/drivers/mconsole_user.c
+++ b/arch/um/drivers/mconsole_user.c
@@ -39,7 +39,7 @@ static struct mconsole_command commands[] = {
39/* Initialized in mconsole_init, which is an initcall */ 39/* Initialized in mconsole_init, which is an initcall */
40char mconsole_socket_name[256]; 40char mconsole_socket_name[256];
41 41
42int mconsole_reply_v0(struct mc_request *req, char *reply) 42static int mconsole_reply_v0(struct mc_request *req, char *reply)
43{ 43{
44 struct iovec iov; 44 struct iovec iov;
45 struct msghdr msg; 45 struct msghdr msg;
diff --git a/arch/um/drivers/port_user.c b/arch/um/drivers/port_user.c
index addd75902656..d269ca387f10 100644
--- a/arch/um/drivers/port_user.c
+++ b/arch/um/drivers/port_user.c
@@ -153,7 +153,7 @@ struct port_pre_exec_data {
153 int pipe_fd; 153 int pipe_fd;
154}; 154};
155 155
156void port_pre_exec(void *arg) 156static void port_pre_exec(void *arg)
157{ 157{
158 struct port_pre_exec_data *data = arg; 158 struct port_pre_exec_data *data = arg;
159 159