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??
Interesting thing here: /home/laurent# make clean /home/laurent# make 2.6.20- 14-generic/ build M=/home/laurent linux-headers- 2.6.20- 14-generic » built-in. o tifm_core. o tifm_7xx1. o tifm_sd. o tifm_sd. c:16:32: erreur: linux/mmc/ protocol. h : Aucun fichier ou répertoire de ce type tifm_sd. c: In function ‘tifm_sd_probe’: tifm_sd. c:987: erreur: ‘struct mmc_host’ has no member named ‘max_sectors’ laurent/ tifm_sd. o] Erreur 1 /home/laurent] Erreur 2 linux-headers- 2.6.20- 14-generic »
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:
rm -rf *.o *.o.d *.ko.d .depend .*.cmd *.ko *.mod.c .tmp_versions
root@leon:
echo /home/laurent
/home/laurent
make -C /lib/modules/
make[1]: entrant dans le répertoire « /usr/src/
LD /home/laurent/
CC [M] /home/laurent/
CC [M] /home/laurent/
CC [M] /home/laurent/
/home/laurent/
/home/laurent/
/home/laurent/
make[2]: *** [/home/
make[1]: *** [_module_
make[1]: quittant le répertoire « /usr/src/
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??