mtdchar.c w/CONFIG_DEVFS under 2.4.22 busted ?

Bob Coggeshall rdcjr at cogwheel.com
Fri Oct 22 13:21:25 EDT 2004


Checked everything out just now (21oct) with:

	cvs -d :ext:anoncvs at cvs.infradead.org:/home/cvs co mtd

Installed it into my 2.5.22pre8 kernel and did a 'make modules' with CONFIG_DEVFS turned on. 

Got the errors below; 
Is this stuff getting built under 2.4 before it gets checked in ?  
Or is support for 2.4 getting dropped ?

Backing mtdchar.c to the 1.60 rev seems to fix it.

	cvs -d :ext:anoncvs at cvs.infradead.org:/home/cvs co -r1.60  mtd/drivers/mtd/mtdchar.c

This looks like the only thing that busted compilation under 2.4

--
Bob Coggeshall * Cogwheel, Inc * tel: (+1)206.230.6445 (+1)206.465.7355  *
fax: (+1)206.236.2553 * www.cogwheel.com 


make -C mtd modules
make[2]: Entering directory `/home/coggs/skyl/projects/ep852-misc/kernels/ep-linux-kernel-mtd-apr2004/drivers/mtd'
ppc_8xx-gcc -D__KERNEL__ -I/home/coggs/skyl/projects/ep852-misc/kernels/ep-linux-kernel-mtd-apr2004/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -g -ggdb -fno-schedule-insns -fno-schedule-insns2 -fomit-frame-pointer -I/home/coggs/skyl/proj
ects/ep852-misc/kernels/ep-linux-kernel-mtd-apr2004/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -DMODULE  -nostdinc -iwithprefix include -I /home/opt/embedded/tools/usr/lib/gcc-lib/ppc-linux/2.95.4/include -DKBUILD_BASENAME=mtdchar -c -o mtdchar.o mtdchar.c

mtdchar.c: In function `mtd_notify_add':
mtdchar.c:27: warning: implicit declaration of function `devfs_mk_cdev'
mtdchar.c: In function `mtd_notify_remove':
mtdchar.c:38: warning: implicit declaration of function `devfs_remove'
mtdchar.c: In function `mtdchar_devfs_init':
mtdchar.c:49: warning: passing arg 1 of `devfs_mk_dir' from incompatible pointer type
mtdchar.c:49: too few arguments to function `devfs_mk_dir'
make[2]: *** [mtdchar.o] Error 1
make[2]: Leaving directory `/home/coggs/skyl/projects/ep852-misc/kernels/ep-linux-kernel-mtd-apr2004/drivers/mtd'
make[1]: *** [_modsubdir_mtd] Error 2
make[1]: Leaving directory `/home/coggs/skyl/projects/ep852-misc/kernels/ep-linux-kernel-mtd-apr2004/drivers'
make: *** [_mod_drivers] Error 2



More information about the linux-mtd mailing list