lkml.org 
[lkml]   [2021]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mfd: simple-mfd-i2c: Select MFD_CORE to fix build error
Am 2021-11-02 12:17, schrieb Lee Jones:
> On Tue, 02 Nov 2021, Robert Marko wrote:
>
>> MFD_SIMPLE_MFD_I2C should select the MFD_CORE to a prevent build
>> error:
>>
>> aarch64-linux-ld: drivers/mfd/simple-mfd-i2c.o: in function
>> `simple_mfd_i2c_probe':
>> drivers/mfd/simple-mfd-i2c.c:55: undefined reference to
>> `devm_mfd_add_devices'
>
> What is your use-case?
>
> How are you enabling this symbol?

Mh? drivers/mfd/simple-mfd-i2c.c is using devm_mfd_add_devices which
is provided by drivers/mfd/core.c. So select MFD_CORE is clearly
missing here, no? I mean most of the MFD drivers do a "select MFD_CORE".

-michael

\
 
 \ /
  Last update: 2021-11-02 13:29    [W:0.063 / U:1.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site