Re: [PATCH] extcon: sm5502: Depend on I2C

From: Randy Dunlap
Date: Tue Sep 16 2014 - 19:42:04 EST


On 09/16/14 16:39, MyungJoo Ham wrote:
>> The SM5502 chip is an I2C device so its drivers must depend on I2C.
>> Failing to do so results in build failures on kernels where I2C is
>> not enabled.
>>
>> Signed-off-by: Jean Delvare <jdelvare@xxxxxxx>
>> Cc: Chanwoo Choi <cw00.choi@xxxxxxxxxxx>
>
> Acked-by: MyungJoo Ham <myungjoo.ham@xxxxxxxxxxx>

Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Geert sent this same patch. I sent this same patch.
What happened to those patches?


>
>> ---
>> drivers/extcon/Kconfig | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> --- a/drivers/extcon/Kconfig
>> +++ b/drivers/extcon/Kconfig
>> @@ -72,6 +72,7 @@ config EXTCON_PALMAS
>>
>> config EXTCON_SM5502
>> tristate "SM5502 EXTCON support"
>> + depends on I2C
>> select IRQ_DOMAIN
>> select REGMAP_I2C
>> select REGMAP_IRQ
>>
>> --
>> Jean Delvare
>> SUSE L3 Support


--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/