diff options
author | Evgeniy Polyakov <johnpol@2ka.mipt.ru> | 2006-02-20 11:15:37 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-23 17:28:13 -0800 |
commit | 674a396c6d2ba0341ebdd7c1c9950f32f018e2dd (patch) | |
tree | b1263e0a926d9cbdc7aa58260099392ad49a72fe /drivers/w1/w1.h | |
parent | f73b5e7949945486a649e40821cd351e2f60bf02 (diff) | |
download | kernel_samsung_crespo-674a396c6d2ba0341ebdd7c1c9950f32f018e2dd.zip kernel_samsung_crespo-674a396c6d2ba0341ebdd7c1c9950f32f018e2dd.tar.gz kernel_samsung_crespo-674a396c6d2ba0341ebdd7c1c9950f32f018e2dd.tar.bz2 |
[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.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/w1/w1.h b/drivers/w1/w1.h index 5f09213..5698050 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; |