Skip to content

Commit

Permalink
[PATCH] drivers/char/scx200_gpio.c: make code static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jim Cromie authored and Linus Torvalds committed Sep 29, 2006
1 parent 358333a commit c8ad968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/scx200_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit c8ad968

Please sign in to comment.