On Sun, May 20, 2018 at 5:37 PM, David Miller <da...@davemloft.net> wrote: > From: Wenwen Wang <wang6...@umn.edu> > Date: Fri, 18 May 2018 16:33:47 -0500 > >> In divasmain.c, the function divas_write() firstly invokes the function >> diva_xdi_open_adapter() to open the adapter that matches with the adapter >> number provided by the user, and then invokes the function diva_xdi_write() >> to perform the write operation using the matched adapter. The two functions >> diva_xdi_open_adapter() and diva_xdi_write() are located in diva.c. > > This doesn't even compile: > > In file included from drivers/isdn/hardware/eicon/divasmain.c:30: > drivers/isdn/hardware/eicon/diva.h:23:18: error: unknown type name > ‘diva_xdi_um_cfg_cmd_t’ > int length, diva_xdi_um_cfg_cmd_t *msg, > ^~~~~~~~~~~~~~~~~~~~~ > drivers/isdn/hardware/eicon/diva.h:27:20: error: unknown type name > ‘diva_xdi_um_cfg_cmd_t’ > int length, diva_xdi_um_cfg_cmd_t *msg, > ^~~~~~~~~~~~~~~~~~~~~
Sorry. I will correct the compilation errors and resubmit the patch. Wenwen