[PATCH] mtdchar: allow mmap() on MTD RAM/ROM char devices

Artem Bityutskiy dedekind1 at gmail.com
Wed Apr 28 09:31:58 EDT 2010


On Wed, 2010-04-28 at 16:25 +0300, Artem Bityutskiy wrote:
> On Fri, 2010-04-16 at 17:41 +0200, Anatolij Gustschin wrote:
> > Signed-off-by: Anatolij Gustschin <agust at denx.de>
> > ---
> >  drivers/mtd/mtdchar.c |   29 ++++++++++++++++++++++++++++-
> >  1 files changed, 28 insertions(+), 1 deletions(-)
> > 
> 
> Taken this to l2-mtd-2.6.git / dunno

Removed, because it breaks compilation on my x86_64:

[dedekind at sauron l2-mtd-2.6]\$ make -j8
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CC [M]  drivers/mtd/mtdchar.o
  CHK     include/linux/version.h
make[2]: `scripts/unifdef' is up to date.
  Building modules, stage 2.
Kernel: arch/x86/boot/bzImage is ready  (#3)
  MODPOST 1635 modules
ERROR: "phys_mem_access_prot" [drivers/mtd/mtdchar.ko] undefined!
WARNING: modpost: Found 11 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
[dedekind at sauron l2-mtd-2.6]\$ git 

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list