diff options
Diffstat (limited to 'drivers/usb/image/microtek.c')
-rw-r--r-- | drivers/usb/image/microtek.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/image/microtek.c b/drivers/usb/image/microtek.c index bc207e3c21f5..885867a86de8 100644 --- a/drivers/usb/image/microtek.c +++ b/drivers/usb/image/microtek.c | |||
@@ -185,7 +185,7 @@ static struct usb_driver mts_usb_driver = { | |||
185 | printk( KERN_DEBUG MTS_NAME x ) | 185 | printk( KERN_DEBUG MTS_NAME x ) |
186 | 186 | ||
187 | #define MTS_DEBUG_GOT_HERE() \ | 187 | #define MTS_DEBUG_GOT_HERE() \ |
188 | MTS_DEBUG("got to %s:%d (%s)\n", __FILE__, (int)__LINE__, __PRETTY_FUNCTION__ ) | 188 | MTS_DEBUG("got to %s:%d (%s)\n", __FILE__, (int)__LINE__, __func__ ) |
189 | #define MTS_DEBUG_INT() \ | 189 | #define MTS_DEBUG_INT() \ |
190 | do { MTS_DEBUG_GOT_HERE(); \ | 190 | do { MTS_DEBUG_GOT_HERE(); \ |
191 | MTS_DEBUG("transfer = 0x%x context = 0x%x\n",(int)transfer,(int)context ); \ | 191 | MTS_DEBUG("transfer = 0x%x context = 0x%x\n",(int)transfer,(int)context ); \ |
@@ -794,7 +794,6 @@ static int mts_usb_probe(struct usb_interface *intf, | |||
794 | 794 | ||
795 | new_desc->usb_dev = dev; | 795 | new_desc->usb_dev = dev; |
796 | new_desc->usb_intf = intf; | 796 | new_desc->usb_intf = intf; |
797 | init_MUTEX(&new_desc->lock); | ||
798 | 797 | ||
799 | /* endpoints */ | 798 | /* endpoints */ |
800 | new_desc->ep_out = ep_out; | 799 | new_desc->ep_out = ep_out; |