010-warnings.patch 984 B

1234567891011121314151617181920212223242526
  1. --- a/src/drv_mei_cpe_api.h
  2. +++ b/src/drv_mei_cpe_api.h
  3. @@ -1000,7 +1000,7 @@ typedef struct MEI_dev_s
  4. #if ( defined(MEI_DRVOS_HAVE_DRV_SELECT) && (MEI_DRVOS_HAVE_DRV_SELECT == 1) )
  5. /** support for select() */
  6. IFX_boolean_t bNfcNeedWakeUp;
  7. - MEI_DRVOS_event_t selNfcWakeupList;
  8. + IFXOS_drvSelectQueue_t selNfcWakeupList;
  9. #endif
  10. /** list of all open instances which can receive NFC's, EVT's ALM's */
  11. --- a/src/drv_mei_cpe_linux.c
  12. +++ b/src/drv_mei_cpe_linux.c
  13. @@ -1302,9 +1302,9 @@ static unsigned int MEI_Poll (struct fil
  14. }
  15. MEI_DRVOS_SelectQueueAddTask(
  16. - (MEI_DRVOS_select_OSArg_t*) filp,
  17. - (MEI_DRVOS_selectQueue_t*) &(pMeiDev->selNfcWakeupList),
  18. - (MEI_DRVOS_selectTable_t*) wait);
  19. + filp,
  20. + &(pMeiDev->selNfcWakeupList),
  21. + wait);
  22. if (pDynNfc->pRecvDataCntrl[pDynNfc->rdIdxRd].bufCtrl != MEI_RECV_BUF_CTRL_FREE) /* buffer in use */
  23. {