diff options
author | Evgeniy Polyakov <johnpol@2ka.mipt.ru> | 2006-02-20 09:15:37 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-24 02:28:13 +0100 |
commit | 674a396c6d2ba0341ebdd7c1c9950f32f018e2dd (patch) | |
tree | b1263e0a926d9cbdc7aa58260099392ad49a72fe /drivers/w1/w1.h | |
parent | [PATCH] W1: u64 is not long long (diff) | |
download | linux-674a396c6d2ba0341ebdd7c1c9950f32f018e2dd.tar.xz linux-674a396c6d2ba0341ebdd7c1c9950f32f018e2dd.zip |
[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 5f09213512bf..56980505e6c4 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; |