lkml.org 
[lkml]   [2013]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mfd: Make MFD_AS3722 depend on I2C=y
On 11/18/2013 10:25 AM, Michal Marek wrote:
> MFD_AS3722 can only be builtin, so it needs I2C builtin as well.
> With I2C=m, we get:
>
> drivers/mfd/as3722.c:372: undefined reference to `devm_regmap_init_i2c'
> drivers/built-in.o: In function `as3722_i2c_driver_init':
> drivers/mfd/as3722.c:444: undefined reference to `i2c_register_driver'
> drivers/built-in.o: In function `as3722_i2c_driver_exit':
> drivers/mfd/as3722.c:444: undefined reference to `i2c_del_driver'

Shouldn't Kconfig handle this; if a Boolean config option depends on a
tri-state config option, shouldn't it automatically validate that the
tri-state is "y" not "m"?


\
 
 \ /
  Last update: 2013-11-19 01:01    [W:0.058 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site