mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
[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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue