lkml.org 
[lkml]   [2013]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] drivers, mfd: fix tps65912 link error when core mfd is a module
Hi David,

On Wed, Apr 17, 2013 at 02:28:47PM -0700, David Rientjes wrote:
> CONFIG_MFD_CORE must be statically linked if CONFIG_MFD_TPS65912 is
> selected, otherwise it results in a link error:
>
> drivers/built-in.o: In function `tps65912_device_init':
> (.text+0x587e4): undefined reference to `mfd_add_devices'
> drivers/built-in.o: In function `tps65912_device_init':
> (.text+0x5884c): undefined reference to `mfd_remove_devices'
> drivers/built-in.o: In function `tps65912_device_exit':
> (.text+0x58878): undefined reference to `mfd_remove_devices'
>
> Signed-off-by: David Rientjes <rientjes@google.com>
> ---
> drivers/mfd/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
Applied to mfd-fixes, thanks.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/


\
 
 \ /
  Last update: 2013-05-17 00:21    [W:0.030 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site