source: trunk/package/ltq-tapi/patches/linux-37.patch @ 26023

Last change on this file since 26023 was 26023, checked in by blogic, 6 years ago

[lantiq]

  • fixes dsl, ifxos, tapi and vmcc for .37
File size: 918 bytes
  • src/drv_tapi_linux.c

    a b  
    213213   IFX_char_t   *pRegDrvName = IFX_NULL; 
    214214   IFX_int32_t ret = 0; 
    215215 
    216    if (tapi_fops.ioctl == IFX_NULL) 
     216   if (tapi_fops.unlocked_ioctl == IFX_NULL) 
    217217   { 
    218218#ifdef MODULE 
    219219      tapi_fops.owner =    THIS_MODULE; 
     
    221221      tapi_fops.read =     ifx_tapi_read; 
    222222      tapi_fops.write =    ifx_tapi_write; 
    223223      tapi_fops.poll =     ifx_tapi_poll; 
    224       tapi_fops.ioctl =    ifx_tapi_ioctl; 
     224      tapi_fops.unlocked_ioctl =    ifx_tapi_ioctl; 
    225225      tapi_fops.open =     ifx_tapi_open; 
    226226      tapi_fops.release =  ifx_tapi_release; 
    227227   } 
  • src/lib/lib_fifo/lib_fifo.c

    a b  
    4141#ifdef LINUX 
    4242/* if linux/slab.h is not available, use the precessor linux/malloc.h */ 
    4343#include <linux/slab.h> 
    44 #elif VXWORKS 
     44#elif defined(VXWORKS) 
    4545#include <sys_drv_debug.h> 
    4646#endif /* LINUX */ 
    4747 
Note: See TracBrowser for help on using the repository browser.