Thread (3 messages) 3 messages, 3 authors, 2012-07-27

Re: linux-next: Tree for July 25 (mfd/arizona)

From: Samuel Ortiz <hidden>
Date: 2012-07-27 13:26:34
Also in: lkml

Hi Randy

On Wed, Jul 25, 2012 at 11:19:59AM -0700, Randy Dunlap wrote:
On 07/24/2012 09:30 PM, Stephen Rothwell wrote:
quoted
Hi all,


Changes since 20120724:


The mfd tree gained a conflict against Linus' tree.


on i386 and x86_64:

CONFIG_MFD_ARIZONA=y
CONFIG_MFD_ARIZONA_I2C=m
CONFIG_MFD_CORE=m

drivers/built-in.o: In function `arizona_dev_init':
(.devinit.text+0x3ab0): undefined reference to `mfd_add_devices'
drivers/built-in.o: In function `arizona_dev_init':
(.devinit.text+0x3fdc): undefined reference to `mfd_add_devices'
drivers/built-in.o: In function `arizona_dev_init':
(.devinit.text+0x3fff): undefined reference to `mfd_add_devices'
drivers/built-in.o: In function `arizona_dev_init':
(.devinit.text+0x4059): undefined reference to `mfd_remove_devices'
drivers/built-in.o: In function `arizona_dev_exit':
(.devexit.text+0x9): undefined reference to `mfd_remove_devices'

because MFD_ARIZONA is bool, so builtin, while MFD_CORE=m,
so the builtin code cannot call the loadable module code.
This is fixed now, by having MFD_ARIZONA selecting MFD_CORE.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help