]> git.pld-linux.org Git - packages/atmelwlandriver.git/blob - atmelwlandriver-usb_defctrl.patch
- make it build with new kernel
[packages/atmelwlandriver.git] / atmelwlandriver-usb_defctrl.patch
1 --- atmelwlandriver/src/usb/reset_device.c.orig 2004-07-18 23:50:44.000000000 +0200
2 +++ atmelwlandriver/src/usb/reset_device.c      2004-07-19 00:04:03.736081160 +0200
3 @@ -24,6 +24,9 @@
4  #include <linux/delay.h>
5  #include "linux/device.h"
6  
7 +#define usb_snddefctrl(dev)    ((PIPE_CONTROL << 30) | __create_pipe(dev,0))
8 +#define usb_rcvdefctrl(dev)    ((PIPE_CONTROL << 30) | __create_pipe(dev,0) | USB_DIR_IN)
9 +
10  static DECLARE_MUTEX(usb_address0_sem);
11  
12  static inline struct device *hubdev (struct usb_device *dev)
This page took 0.0233 seconds and 3 git commands to generate.