https://github.com/torvalds/linux
Revision 40847437f15221b5822ba70550e8b9fcccfb9bb3 authored by Andres Salomon on 30 October 2010, 04:04:19 UTC, committed by David Woodhouse on 30 October 2010, 11:46:08 UTC
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>
1 parent 8cc9de3
History
Tip revision: 40847437f15221b5822ba70550e8b9fcccfb9bb3 authored by Andres Salomon on 30 October 2010, 04:04:19 UTC
mtd: fix build error in m25p80.c
Tip revision: 4084743
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 936 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.5 KB
MAINTAINERS -rw-r--r-- 178.2 KB
Makefile -rw-r--r-- 51.2 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top