[PATCH] drivers/char/scx200_gpio.c: make code static
This patch makes a needlessly global variable static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Jim Cromie <jim.cromie@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
358333a0cb
commit
c8ad9681fd
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue