提交 c8ad9681 编写于 作者: J Jim Cromie 提交者: Linus Torvalds

[PATCH] drivers/char/scx200_gpio.c: make code static

This patch makes a needlessly global variable static.
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NJim Cromie  <jim.cromie@gmail.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 358333a0
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册