MTD CVS + Kernel 2.6 from handhelds.org - mtd_char - compilation errors

Joshua Wise joshua at joshuawise.com
Sat Feb 7 22:14:32 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I am compiling mtdcvs+k2.6-hh, and mtd_char seems to be choking on the fact 
that I have devfs enabled, but devfs is being phased out. 

Errors:
drivers/mtd/mtdchar.c:28: error: parse error before "devfs_dir_handle"
drivers/mtd/mtdchar.c:28: warning: type defaults to `int' in declaration of 
`devfs_dir_handle'
drivers/mtd/mtdchar.c:28: warning: data definition has no type or storage 
class
drivers/mtd/mtdchar.c:29: error: parse error before "devfs_rw_handle"
drivers/mtd/mtdchar.c:29: warning: type defaults to `int' in declaration of 
`devfs_rw_handle'
drivers/mtd/mtdchar.c:29: warning: data definition has no type or storage 
class
drivers/mtd/mtdchar.c:30: error: parse error before "devfs_ro_handle"
drivers/mtd/mtdchar.c:30: warning: type defaults to `int' in declaration of 
`devfs_ro_handle'
drivers/mtd/mtdchar.c:30: warning: data definition has no type or storage 
class
drivers/mtd/mtdchar.c: In function `mtd_notify_add':
drivers/mtd/mtdchar.c:486: warning: implicit declaration of function 
`devfs_register'
drivers/mtd/mtdchar.c:487: error: `DEVFS_FL_DEFAULT' undeclared (first use in 
this function)
drivers/mtd/mtdchar.c:487: error: (Each undeclared identifier is reported only 
once
drivers/mtd/mtdchar.c:487: error: for each function it appears in.)
drivers/mtd/mtdchar.c: In function `mtd_notify_remove':
drivers/mtd/mtdchar.c:503: warning: implicit declaration of function 
`devfs_unregister'
drivers/mtd/mtdchar.c: In function `init_mtdchar':
drivers/mtd/mtdchar.c:518: warning: too many arguments for format

jwise
- -- 
Joshua Wise | www.joshuawise.com
GPG Key     | 0xEA80E0B3
Quote       | <RockShox> charge up a 50v 1000uf cap and toss it to someone
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAJamdPn9tWOqA4LMRAhtKAJ9CY9rVyclz0FmMmsd+QyULyDzY+ACfZq0D
H9fuhqgsJp/SPxBUfTKSCOI=
=/yV8
-----END PGP SIGNATURE-----



More information about the linux-mtd mailing list