projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
358333a
)
[PATCH] drivers/char/scx200_gpio.c: make code static
author
Jim Cromie
<jim.cromie@gmail.com>
Fri, 29 Sep 2006 08:59:05 +0000
(
01:59
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 29 Sep 2006 16:18:05 +0000
(09:18 -0700)
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>
drivers/char/scx200_gpio.c
patch
|
blob
|
history
diff --git
a/drivers/char/scx200_gpio.c
b/drivers/char/scx200_gpio.c
index b956c7babd18a8a4933d6a99e74bd86ceb63c62d..b1f88c66b2b5f0987f82ce9be85118bf5409c975 100644
(file)
--- 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 */
+st
atic st
ruct cdev scx200_gpio_cdev; /* use 1 cdev for all pins */
static int __init scx200_gpio_init(void)
{