diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-02-06 14:16:25 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-02-06 14:16:25 -0200 |
commit | b06a1ba5ddac8154bbdaabecf5e982838d626897 (patch) | |
tree | b4c041e030a39c5c1df9d42a0fa9c4198b8f6ca8 /linux/drivers | |
parent | be80b76533c8db5af8ef3464c84d56c45767ed60 (diff) | |
download | mediapointer-dvb-s2-b06a1ba5ddac8154bbdaabecf5e982838d626897.tar.gz mediapointer-dvb-s2-b06a1ba5ddac8154bbdaabecf5e982838d626897.tar.bz2 |
implemented compat.h for mutex_trylock()
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Fixed also a small mistake at including mutex.h
kernel-sync
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/dvb_net.c | 2 | ||||
-rw-r--r-- | linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_net.c b/linux/drivers/media/dvb/dvb-core/dvb_net.c index 9d2869f67..5f3c9b71f 100644 --- a/linux/drivers/media/dvb/dvb-core/dvb_net.c +++ b/linux/drivers/media/dvb/dvb-core/dvb_net.c @@ -64,7 +64,7 @@ #include <linux/crc32.h> #include "compat.h" #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) -#include <linux/mutex> +#include <linux/mutex.h> #endif #include "dvb_demux.h" diff --git a/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c b/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c index 622d5f54f..245db934f 100644 --- a/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c +++ b/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c @@ -93,7 +93,6 @@ struct ttusb { struct semaphore semusb; #endif - struct dvb_adapter adapter; struct usb_device *dev; |