source: trunk/package/ar7-atm/patches-D7.04.03.00/190-2.6.32_proc_fixes.patch @ 20039

Last change on this file since 20039 was 20039, checked in by florian, 6 years ago

[ar7] add support for new ar7-atm version D7.05.00.00 (#6515)

File size: 832 bytes
  • sangam_atm-D7.04.03.00

    old new  
    34313431   */ 
    34323432  if(write) 
    34333433    { 
     3434#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32) 
    34343435    ret = proc_dostring(ctl, write, filp, buffer, lenp, 0); 
    3435  
     3436#else 
     3437    ret = proc_dostring(ctl, write, buffer, lenp, 0); 
     3438#endif 
    34363439    switch (ctl->ctl_name) 
    34373440      { 
    34383441      case DEV_DSLMOD: 
     
    35173520  else 
    35183521    { 
    35193522    len += sprintf(info+len, mod_req); 
     3523#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32) 
    35203524    ret = proc_dostring(ctl, write, filp, buffer, lenp, 0); 
     3525#else 
     3526    ret = proc_dostring(ctl, write, buffer, lenp, 0); 
     3527#endif 
    35213528    } 
    35223529  return ret; 
    35233530} 
Note: See TracBrowser for help on using the repository browser.