diff options
author | Jim Cromie <jim.cromie@gmail.com> | 2006-09-29 12:59:05 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 20:18:05 +0400 |
commit | c8ad9681fdec37ad298da6d505f9baba61e5f15c (patch) | |
tree | 8c40b208d6f230eb39506f65d2cb0d28d780112c /drivers/char | |
parent | 358333a0cb4a6d279806e38d0368b79066dbe5e7 (diff) | |
download | linux-c8ad9681fdec37ad298da6d505f9baba61e5f15c.tar.xz |
[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>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/scx200_gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |