diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-12-10 01:43:25 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-12-10 01:43:25 +0000 |
commit | f925c632b4f136d1d154174041f6b322149e3682 (patch) | |
tree | 2e3f52ce73a9ca78c5bb7a606e4a2885963f7659 /linux/drivers/media/video/msp3400-driver.c | |
parent | ac63d03ba48d965f169ed2595ecc2ad7b8694e95 (diff) | |
download | mediapointer-dvb-s2-f925c632b4f136d1d154174041f6b322149e3682.tar.gz mediapointer-dvb-s2-f925c632b4f136d1d154174041f6b322149e3682.tar.bz2 |
make tree to compile against kernel 2.5.31
kernel-sync
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/msp3400-driver.c')
-rw-r--r-- | linux/drivers/media/video/msp3400-driver.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/video/msp3400-driver.c b/linux/drivers/media/video/msp3400-driver.c index 4eabc2ef8..ff49d022f 100644 --- a/linux/drivers/media/video/msp3400-driver.c +++ b/linux/drivers/media/video/msp3400-driver.c @@ -2456,9 +2456,11 @@ static int msp_detach(struct i2c_client *client) /* shutdown control thread */ if (msp->kthread) { - msp->restart = 1; #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) DECLARE_MUTEX_LOCKED(sem); +#endif + msp->restart = 1; +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) /* shutdown control thread */ msp->notify = &sem; msp->rmmod = 1; |