aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/winbond/linux/wb35tx.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-10-27 14:21:24 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 13:51:42 -0800
commitf3d201886d1b6d47bc357798c50ddf9d2072aa2f (patch)
tree09a0643cde8b2ddba9e26e6f24a19644a50d52a5 /drivers/staging/winbond/linux/wb35tx.c
parent7c126043801fda48761691f643e1138c2d3ead43 (diff)
Staging: w35und: remove usb_alloc_urb wrapper function
No need for a simple wrapper here. Cc: Pekka Enberg <penberg@cs.helsinki.fi> Cc: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/winbond/linux/wb35tx.c')
-rw-r--r--drivers/staging/winbond/linux/wb35tx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/winbond/linux/wb35tx.c b/drivers/staging/winbond/linux/wb35tx.c
index c54ef30a577..9c928eec2f4 100644
--- a/drivers/staging/winbond/linux/wb35tx.c
+++ b/drivers/staging/winbond/linux/wb35tx.c
@@ -134,11 +134,11 @@ unsigned char Wb35Tx_initial(phw_data_t pHwData)
{
PWB35TX pWb35Tx = &pHwData->Wb35Tx;
- pWb35Tx->Tx4Urb = wb_usb_alloc_urb(0);
+ pWb35Tx->Tx4Urb = usb_alloc_urb(0, GFP_ATOMIC);
if (!pWb35Tx->Tx4Urb)
return FALSE;
- pWb35Tx->Tx2Urb = wb_usb_alloc_urb(0);
+ pWb35Tx->Tx2Urb = usb_alloc_urb(0, GFP_ATOMIC);
if (!pWb35Tx->Tx2Urb)
{
usb_free_urb( pWb35Tx->Tx4Urb );