[OpenWrt-Devel] [PATCH 2/4] get buffer size from driver

Bjørn Mork bjorn at mork.no
Wed May 11 15:54:21 EDT 2016


John Crispin <john at phrozen.org> writes:

> Hi,
>
> pulled the series into the umbim git just now. small issue inline

Thanks

> On 11/05/2016 13:24, Bjørn Mork wrote:
>> Signed-off-by: Bjørn Mork <bjorn at mork.no>
>> ---
>>  mbim-dev.c | 11 ++++++++++-
>>  1 file changed, 10 insertions(+), 1 deletion(-)
>> 
>> diff --git a/mbim-dev.c b/mbim-dev.c
>> index 34bb2c228eb0..dd1110daeb52 100644
>> --- a/mbim-dev.c
>> +++ b/mbim-dev.c
>> @@ -12,6 +12,8 @@
>>   * GNU General Public License for more details.
>>   */
>>  
>> +#include <linux/usb/cdc-wdm.h>
>
> due to this a simple "cmake . && make" does not cut it anymore. we'll
> need to tweak the CMakefile  to find the headers when compilig outside
> the buildroot

Ah, sorry about that.   I should have tested building it in different
environments.   Didn't think about this file being special.

I guess we could simply copy the IOCTL_WDM_MAX_COMMAND macro instead, if
including this file causes too much additional trouble.  It's not like
it can change.


Bjørn
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list