summaryrefslogtreecommitdiffstats
path: root/drivers/char/scx200_gpio.c
diff options
context:
space:
mode:
authorJim Cromie <jim.cromie@gmail.com>2006-09-29 10:59:05 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-29 18:18:05 +0200
commitc8ad9681fdec37ad298da6d505f9baba61e5f15c (patch)
tree8c40b208d6f230eb39506f65d2cb0d28d780112c /drivers/char/scx200_gpio.c
parent[PATCH] remove unnecessary barrier in rtc_get_rtc_time (diff)
downloadlinux-c8ad9681fdec37ad298da6d505f9baba61e5f15c.tar.xz
linux-c8ad9681fdec37ad298da6d505f9baba61e5f15c.zip
[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.c2
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)
{