aboutsummaryrefslogtreecommitdiff
path: root/drivers/w1/w1.h
diff options
context:
space:
mode:
authorEvgeniy Polyakov <johnpol@2ka.mipt.ru>2006-02-20 11:15:37 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2006-03-23 17:28:13 -0800
commit674a396c6d2ba0341ebdd7c1c9950f32f018e2dd (patch)
treeb1263e0a926d9cbdc7aa58260099392ad49a72fe /drivers/w1/w1.h
parentf73b5e7949945486a649e40821cd351e2f60bf02 (diff)
[PATCH] w1: use kthread api.
This patch removes old-style kernel thread initialization and changes w1 to use kthread api. It is based on Christoph Hellwig <hch@lst.de> work. Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/w1/w1.h')
-rw-r--r--drivers/w1/w1.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/w1/w1.h b/drivers/w1/w1.h
index 5f09213512b..56980505e6c 100644
--- a/drivers/w1/w1.h
+++ b/drivers/w1/w1.h
@@ -172,12 +172,11 @@ struct w1_master
long flags;
- pid_t kpid;
+ struct task_struct *thread;
struct semaphore mutex;
struct device_driver *driver;
struct device dev;
- struct completion dev_exited;
struct w1_bus_master *bus_master;