]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/wlan-ng/wlan-ng-modules-0.2.2/module_param_array.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / wlan-ng / wlan-ng-modules-0.2.2 / module_param_array.patch
1 --- linux-wlan-ng-0.2.2/src/prism2/driver/prism2_cs.c~  2005-07-20 19:16:55.000000000 +0200
2 +++ linux-wlan-ng-0.2.2/src/prism2/driver/prism2_cs.c   2005-09-01 19:02:59.099563318 +0200
3 @@ -22,12 +22,16 @@
4                                                  * says.
5                                                  */
6  #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,11) )
7 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
8  #if (LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,5))
9  static int numlist = 4;
10  module_param_array(irq_list, int, numlist, 0444);
11  #else
12  module_param_array(irq_list, int, NULL, 0444);
13  #endif
14 +#else
15 +MODULE_PARM( irq_list, "1-4i" );
16 +#endif
17  module_param( irq_mask, int, 0644);
18  #endif
19