Merge remote-tracking branches 'asoc/fix/rt5677', 'asoc/fix/st', 'asoc/fix/sun4i...
[firefly-linux-kernel-4.4.55.git] / arch / um / drivers / mconsole_user.c
index 13af2f03ed8479ac8f7f17ce4d7389120cdac297..99209826adb15daffcd8ed299e00b42ae8ea752d 100644 (file)
@@ -10,9 +10,7 @@
 #include <sys/socket.h>
 #include <sys/uio.h>
 #include <sys/un.h>
-#include "kern_constants.h"
 #include "mconsole.h"
-#include "user.h"
 
 static struct mconsole_command commands[] = {
        /*
@@ -39,7 +37,7 @@ static struct mconsole_command commands[] = {
 /* Initialized in mconsole_init, which is an initcall */
 char mconsole_socket_name[256];
 
-int mconsole_reply_v0(struct mc_request *req, char *reply)
+static int mconsole_reply_v0(struct mc_request *req, char *reply)
 {
        struct iovec iov;
        struct msghdr msg;