[l2-mtd:spinor 125/128] ERROR: "spi_nor_ids" [drivers/mtd/devices/m25p80.ko] undefined!
Brian Norris
computersforpeace at gmail.com
Tue Apr 8 22:05:15 PDT 2014
On Wed, Apr 09, 2014 at 12:36:26PM +0800, Huang Shijie wrote:
> 于 2014年04月09日 11:42, kbuild test robot 写道:
>
> >tree: git://git.infradead.org/users/dedekind/l2-mtd.git spinor
Wow, you build every branch, not just those in -next?
> >head: 677a19bd871f1599891f3b75a689ea2da119cb08
> >commit: ca9c7429a9b6d4cee346a871a7a14789bfc69c8d [125/128] mtd: m25p80: use the SPI nor framework
> >config: make ARCH=x86_64 allmodconfig
> >
> >All error/warnings:
> >
> >>>ERROR: "spi_nor_ids" [drivers/mtd/devices/m25p80.ko] undefined!
> >>>ERROR: "spi_nor_scan" [drivers/mtd/devices/m25p80.ko] undefined!
> I missed to add the CONFIG_MTD_SPI_NOR_BASE to the *defconfig.
>
> I guess it caused this compiler error.
No, it's actually because you didn't use EXPORT_SYMBOL(). I already have
a patch queued up. I'll send it out soon.
Brian
More information about the linux-mtd
mailing list