]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/um/drivers/mconsole_kern.c
[PATCH] uml: Add static initializations and declarations
[mv-sheeva.git] / arch / um / drivers / mconsole_kern.c
index 355866af5e0b4430a76f43f6c17d905b2a544b91..b5217bd7bc41d3193fcd5df4669eab9590295658 100644 (file)
@@ -51,7 +51,7 @@ static struct notifier_block reboot_notifier = {
  * itself and it can only happen on CPU 0.
  */
 
-LIST_HEAD(mc_requests);
+static LIST_HEAD(mc_requests);
 
 static void mc_work_proc(void *unused)
 {
@@ -69,7 +69,7 @@ static void mc_work_proc(void *unused)
        }
 }
 
-DECLARE_WORK(mconsole_work, mc_work_proc, NULL);
+static DECLARE_WORK(mconsole_work, mc_work_proc, NULL);
 
 static irqreturn_t mconsole_interrupt(int irq, void *dev_id,
                                      struct pt_regs *regs)
@@ -535,7 +535,7 @@ void mconsole_stack(struct mc_request *req)
  */
 static char *notify_socket = NULL;
 
-int mconsole_init(void)
+static int mconsole_init(void)
 {
        /* long to avoid size mismatch warnings from gcc */
        long sock;