aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/w1/w1.h
diff options
context:
space:
mode:
authorEvgeniy Polyakov <johnpol@2ka.mipt.ru>2006-02-20 03:15:37 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-03-23 20:28:13 -0500
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 5f09213512bf..56980505e6c4 100644
--- a/drivers/w1/w1.h
+++ b/drivers/w1/w1.h
@@ -172,12 +172,11 @@ struct w1_master
172 172
173 long flags; 173 long flags;
174 174
175 pid_t kpid; 175 struct task_struct *thread;
176 struct semaphore mutex; 176 struct semaphore mutex;
177 177
178 struct device_driver *driver; 178 struct device_driver *driver;
179 struct device dev; 179 struct device dev;
180 struct completion dev_exited;
181 180
182 struct w1_bus_master *bus_master; 181 struct w1_bus_master *bus_master;
183 182