Messages in this thread | | | Date | Tue, 29 Jun 2010 08:07:57 -0700 | From | Randy Dunlap <> | Subject | Re: linux-next: Tree for June 29 (staging/spectra) |
| |
On Tue, 29 Jun 2010 15:19:38 +1000 Stephen Rothwell wrote:
> Hi all, > > Changes since 20100628: > > My fixes tree is now empty.
When CONFIG_MTD=m and CONFIG_SPECTRA=y # CONFIG_SPECTRA_MRST_HW is not set CONFIG_SPECTRA_MTD=y # CONFIG_SPECTRA_EMU is not set
build-r3554.out:(.text+0x28bc7c): undefined reference to `put_mtd_device' build-r3554.out:(.text+0x28bcb1): undefined reference to `get_mtd_device'
due to this in spectra/Kconfig:
config SPECTRA_MTD bool "Linux MTD mode" depends on MTD
so when CONFIG_MTD=m, the "depends on MTD" on a 'bool' makes the bool become 'y', which is not good.
Is this supposed to build a separate lld_mtd driver? Can't it be tristate instead of bool?
--- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code ***
| |