From: Jeff Dike Make a couple of variables static. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton --- arch/um/drivers/port_kern.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN arch/um/drivers/port_kern.c~uml-make-two-variables-static arch/um/drivers/port_kern.c --- a/arch/um/drivers/port_kern.c~uml-make-two-variables-static +++ a/arch/um/drivers/port_kern.c @@ -129,8 +129,8 @@ static int port_accept(struct port_list return(ret); } -DECLARE_MUTEX(ports_sem); -struct list_head ports = LIST_HEAD_INIT(ports); +static DECLARE_MUTEX(ports_sem); +static struct list_head ports = LIST_HEAD_INIT(ports); void port_work_proc(struct work_struct *unused) { _