summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorHolger Waechtler <devnull@localhost>2003-04-14 21:27:53 +0000
committerHolger Waechtler <devnull@localhost>2003-04-14 21:27:53 +0000
commitb5535bb34b2c0ba37af8112a4f5a7bb3612db951 (patch)
treebe208ca9e7b9f15b20f3b0b82609691af3c8c271 /linux/drivers
parent63984986171c9e8d3c447203afe7dc3d61a70323 (diff)
downloadmediapointer-dvb-s2-b5535bb34b2c0ba37af8112a4f5a7bb3612db951.tar.gz
mediapointer-dvb-s2-b5535bb34b2c0ba37af8112a4f5a7bb3612db951.tar.bz2
declare variables before trace dprintk()'s
(not everybody has gcc-3.2 installed;)
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
index 65b4a5cef..7bdc8a611 100644
--- a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
+++ b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
@@ -1054,11 +1054,10 @@ ttusb_dec_probe(struct usb_device *udev, unsigned int ifnum,
static void
ttusb_dec_disconnect(struct usb_device *udev, void *data)
{
+ ttusb_dec_t *dec = data;
dprintk("%s\n", __FUNCTION__);
- ttusb_dec_t *dec = data;
-
ttusb_dec_exit_usb(dec);
ttusb_dec_exit_dvb(dec);