summaryrefslogtreecommitdiffstats
path: root/drivers/connector
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2008-02-27 03:25:53 +0100
committerDavid S. Miller <davem@davemloft.net>2008-02-27 03:42:44 +0100
commit78374676efae525094aee45c0aab4bcab95ea9d1 (patch)
tree1635b7247e7f30d537cb8b9a96a5010e1de5bea6 /drivers/connector
parent[IPV4]: Reset scope when changing address (diff)
downloadlinux-78374676efae525094aee45c0aab4bcab95ea9d1.tar.xz
linux-78374676efae525094aee45c0aab4bcab95ea9d1.zip
CONNECTOR: make cn_already_initialized static
It is used in connector.c only, so make it static. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/connector')
-rw-r--r--drivers/connector/connector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/connector/connector.c b/drivers/connector/connector.c
index fea2d3ed9cbd..85e2ba7fcfba 100644
--- a/drivers/connector/connector.c
+++ b/drivers/connector/connector.c
@@ -47,7 +47,7 @@ static LIST_HEAD(notify_list);
static struct cn_dev cdev;
-int cn_already_initialized = 0;
+static int cn_already_initialized;
/*
* msg->seq and msg->ack are used to determine message genealogy.