From: Jim Cromie This patch makes a needlessly global variable static. Signed-off-by: Adrian Bunk Signed-off-by: Jim Cromie Signed-off-by: Andrew Morton --- drivers/char/scx200_gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/char/scx200_gpio.c~drivers-char-scx200_gpioc-make-code-static drivers/char/scx200_gpio.c --- a/drivers/char/scx200_gpio.c~drivers-char-scx200_gpioc-make-code-static +++ a/drivers/char/scx200_gpio.c @@ -69,7 +69,7 @@ static const struct file_operations scx2 .release = scx200_gpio_release, }; -struct cdev scx200_gpio_cdev; /* use 1 cdev for all pins */ +static struct cdev scx200_gpio_cdev; /* use 1 cdev for all pins */ static int __init scx200_gpio_init(void) { _