From b5fcd308c864175c7ab93184ff64440c831e3c1e Mon Sep 17 00:00:00 2001 From: Li Zefan Date: Tue, 26 Feb 2008 18:25:53 -0800 Subject: [PATCH] --- yaml --- r: 86465 b: refs/heads/master c: 78374676efae525094aee45c0aab4bcab95ea9d1 h: refs/heads/master i: 86463: af32b9bd9cbe1ca38e311133f055f37a56ad9d5b v: v3 --- [refs] | 2 +- trunk/drivers/connector/connector.c | 2 +- trunk/include/linux/connector.h | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index e8a9f13a7f28..744a0e49fd56 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 148f97292e8fa2c35fcef60a7725cf1b073d6818 +refs/heads/master: 78374676efae525094aee45c0aab4bcab95ea9d1 diff --git a/trunk/drivers/connector/connector.c b/trunk/drivers/connector/connector.c index fea2d3ed9cbd..85e2ba7fcfba 100644 --- a/trunk/drivers/connector/connector.c +++ b/trunk/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. diff --git a/trunk/include/linux/connector.h b/trunk/include/linux/connector.h index da6dd957f908..96a89d3d6727 100644 --- a/trunk/include/linux/connector.h +++ b/trunk/include/linux/connector.h @@ -170,7 +170,5 @@ int cn_cb_equal(struct cb_id *, struct cb_id *); void cn_queue_wrapper(struct work_struct *work); -extern int cn_already_initialized; - #endif /* __KERNEL__ */ #endif /* __CONNECTOR_H */