Backport qmi wwan driver to linux 2.6.32 on ARM

Bjørn Mork bjorn at mork.no
Tue Aug 11 00:30:54 PDT 2015


蒋品 <jiang.pin at icloud.com> writes:

>  I wonder if it is possible to backport the qmi driver to linux 2.6.32?

It is.  But the only remotely sane reason to use a kernel that old is
that it is supported by some hardware vendor.  Use that support.

> wildc at wildc-HP-Pavilion-dv4-Notebook-PC:~/backports-3.14-1$ echo $KLIB_BUILD
> /home/wildc/ArDroine2.0_LinuxSource/kernel/
>
> ARCH=arm CROSS_COMPILE=~/tool-chain/arm-2009q1/bin/arm-none-linux-gnueabi- make
>   CC [M]  /home/wildc/backports-3.14-1/compat/main.o
> In file included from /home/wildc/backports-3.14-1/compat/compat-2.6.34.h:8,
>                  from /home/wildc/backports-3.14-1/compat/main.c:5:
> /home/wildc/backports-3.14-1/backport-include/linux/mmc/sdio_func.h:21: error: redefinition of typedef 'mmc_pm_flag_t'
> include/linux/mmc/pm.h:25: error: previous declaration of 'mmc_pm_flag_t' was here

In what way is this supposed to be related to the qmi_wwan driver?  Did
you even look at the code you are trying to build?



Bjørn


More information about the libqmi-devel mailing list