[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:
Jim Cromie 2006-09-29 01:59:05 -07:00 committed by Linus Torvalds
parent 358333a0cb
commit c8ad9681fd
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{