android_kernel_xiaomi_sm8350/drivers/mtd/devices
Andres Salomon 40847437f1 mtd: fix build error in m25p80.c
While building an x86 distro kernel, I hit the following:

Kernel: arch/x86/boot/bzImage is ready  (#7)
ERROR: "of_mtd_parse_partitions" [drivers/mtd/devices/m25p80.ko]
undefined!

of_mtd_parse_partitions is defined with MTD_OF_PARTS, and that's only
built on PPC and microblaze.  The code in question should be wrapped w/
a stricter #ifdef.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-10-30 12:46:08 +01:00
..
block2mtd.c block2mtd: dubious assignment 2010-10-26 10:58:00 +01:00
doc2000.c
doc2001.c
doc2001plus.c
docecc.c mtd: Remove obsolete <mtd/compatmac.h> include 2010-08-08 21:19:42 +01:00
docprobe.c mtd: Remove obsolete <mtd/compatmac.h> include 2010-08-08 21:19:42 +01:00
Kconfig
lart.c Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
m25p80.c mtd: fix build error in m25p80.c 2010-10-30 12:46:08 +01:00
Makefile mtd: small typo in Makefile 2010-03-18 07:53:16 +00:00
ms02-nv.c
ms02-nv.h
mtd_dataflash.c mtd: dataflash: remove casts from void 2010-08-02 09:05:46 +01:00
mtdram.c mtd: Remove obsolete <mtd/compatmac.h> include 2010-08-08 21:19:42 +01:00
phram.c mtd: phram: use KBUILD_MODNAME 2010-10-25 01:36:36 +01:00
pmc551.c mtd: Remove obsolete <mtd/compatmac.h> include 2010-08-08 21:19:42 +01:00
slram.c
sst25l.c mtd: sst25l: check for null consistently 2010-08-02 09:00:45 +01:00