diff options
author | Jim Cromie <jim.cromie@gmail.com> | 2006-09-29 01:59:05 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 09:18:05 -0700 |
commit | c8ad9681fdec37ad298da6d505f9baba61e5f15c (patch) | |
tree | 8c40b208d6f230eb39506f65d2cb0d28d780112c /drivers/char/scx200_gpio.c | |
parent | 358333a0cb4a6d279806e38d0368b79066dbe5e7 (diff) | |
download | op-kernel-dev-c8ad9681fdec37ad298da6d505f9baba61e5f15c.zip op-kernel-dev-c8ad9681fdec37ad298da6d505f9baba61e5f15c.tar.gz |
[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/scx200_gpio.c')
-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 b956c7b..b1f88c6 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) { |