2e2a3df79a3f593d258250f000f65b8315ffcfd7
[openwrt.git] / package / alsa / patches / 100-compile_fix.patch
1 diff -urN alsa.old/include/adriver.h alsa.dev/include/adriver.h
2 --- alsa.old/include/adriver.h  2006-04-19 08:24:30.000000000 +0200
3 +++ alsa.dev/include/adriver.h  2006-05-31 17:24:49.000000000 +0200
4 @@ -451,7 +451,7 @@
5  #endif /* < 2.6.0 */
6  
7  /* workarounds for USB API */
8 -#if defined(SND_NEED_USB_WRAPPER) && (defined(CONFIG_USB) || defined(CONFIG_USB_MODULE))
9 +#if 1
10  
11  #include <linux/usb.h>
12  
13 @@ -1174,4 +1174,5 @@
14   */
15  #define OPL3_HW_OPL3_PC98      0x0305  /* PC9800 */
16  
17 +#undef info /* used in several structs */
18  #endif /* __SOUND_LOCAL_DRIVER_H */