Comment 38 for bug 53923

Revision history for this message
Laurent Dufrechou (laurent-dufrechou) wrote : Re: tifm: Texas Instruments Card reader not working

Interesting thing here:
I've compiled above module in the working kernel: 2.6.20-12, and it just compile well.
(tifm module version 0.8)
On kernel 2.6.20-14 that doesn't works:
root@leon:/home/laurent# make clean
rm -rf *.o *.o.d *.ko.d .depend .*.cmd *.ko *.mod.c .tmp_versions
root@leon:/home/laurent# make
echo /home/laurent
/home/laurent
make -C /lib/modules/2.6.20-14-generic/build M=/home/laurent
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.20-14-generic »
  LD /home/laurent/built-in.o
  CC [M] /home/laurent/tifm_core.o
  CC [M] /home/laurent/tifm_7xx1.o
  CC [M] /home/laurent/tifm_sd.o
/home/laurent/tifm_sd.c:16:32: erreur: linux/mmc/protocol.h : Aucun fichier ou répertoire de ce type
/home/laurent/tifm_sd.c: In function ‘tifm_sd_probe’:
/home/laurent/tifm_sd.c:987: erreur: ‘struct mmc_host’ has no member named ‘max_sectors’
make[2]: *** [/home/laurent/tifm_sd.o] Erreur 1
make[1]: *** [_module_/home/laurent] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.20-14-generic »
make: *** [all] Erreur 2

It seems that kernel-2.6.20-14 is missing linux/mmc/protocol.h ??

Could it be a related to why the module don't works well on -13 and -14??