MTD/mtdblock.c uclinux 2.0.38?

David Woodhouse dwmw2 at infradead.org
Wed Jul 11 18:28:45 EDT 2001


skranz at ridgerun.com said:
> MTD depends on these headers which don't exist within the uclinux
> tree.

Touch them. We can sort out the missing stuff later. You might want slab.h 
to include malloc.h instead of just being empty.


> include/linux/mtd/map.h line 65, generates error: "field `list' has
> incomplete type"

Copy include/linux/list.h from a later kernel.


skranz at ridgerun.com said:
> statements __MOD_INC_USE_COUNT() and __MOD_DEC_USE_COUNT() found in
> various locations with the MTD tree generate these compile errors:
> "structure has no member named `uc'" "structure has no member named
> `flags'" 

Fix the definitions in include/linux/mtd/compatmac.h to match the kernel 
you're using.


--
dwmw2






More information about the linux-mtd mailing list