Merge branch 'topic/ice1724-pm' into for-linus
[pandora-kernel.git] / arch / um / drivers / port_user.c
index addd759..b49bf56 100644 (file)
@@ -47,7 +47,7 @@ static void *port_init(char *str, int device, const struct chan_opts *opts)
        if (kern_data == NULL)
                return NULL;
 
-       data = kmalloc(sizeof(*data), UM_GFP_KERNEL);
+       data = uml_kmalloc(sizeof(*data), UM_GFP_KERNEL);
        if (data == NULL)
                goto err;
 
@@ -153,7 +153,7 @@ struct port_pre_exec_data {
        int pipe_fd;
 };
 
-void port_pre_exec(void *arg)
+static void port_pre_exec(void *arg)
 {
        struct port_pre_exec_data *data = arg;