From: Jim Cromie Date: Fri, 29 Sep 2006 08:59:05 +0000 (-0700) Subject: [PATCH] drivers/char/scx200_gpio.c: make code static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c8ad9681fdec37ad298da6d505f9baba61e5f15c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [PATCH] drivers/char/scx200_gpio.c: make code static This patch makes a needlessly global variable static. Signed-off-by: Adrian Bunk Signed-off-by: Jim Cromie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/scx200_gpio.c b/drivers/char/scx200_gpio.c index b956c7babd18..b1f88c66b2b5 100644 --- a/drivers/char/scx200_gpio.c +++ b/drivers/char/scx200_gpio.c @@ -69,7 +69,7 @@ static const struct file_operations scx200_gpio_fileops = { .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) {