mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
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 <[email protected]> Acked-by: Grant Likely <[email protected]> Signed-off-by: David Woodhouse <[email protected]>