Re: [PATCH v3 1/3] i2c: core: add managed function for adding i2c adapters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 24, 2021 at 04:29:26PM +0800, Yicong Yang wrote:
> On 2021/3/23 0:45, Dmitry Osipenko wrote:
> > 22.03.2021 14:10, Yicong Yang пишет:

...

> >> +EXPORT_SYMBOL(devm_i2c_add_adapter);
> > 
> > EXPORT_SYMBOL_GPL
> 
> considering i2c_add_adapter exported with no GPL, i think the variant should
> keep the same.

Nope. You should follow other devm_*() APIs. Hint: they are using struct device
which is GPL.

Please, fix.

-- 
With Best Regards,
Andy Shevchenko





[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux