lkml.org 
[lkml]   [2010]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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 ***


\
 
 \ /
  Last update: 2010-06-29 17:11    [W:0.053 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site