Re: [PATCH 2/3] ASoC: rt5682: fix compilation issues without I2C

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

 





On 3/10/20 12:19 PM, Mark Brown wrote:
On Tue, Mar 10, 2020 at 11:35:08AM -0500, Pierre-Louis Bossart wrote:
Exclude all I2C-related code from compilation to avoid compilation
errors and defined but not used warnings.

I think it would be better to do this by factoring the bus code out into
a separate file like we've done with I2C and SPI, it's neater than
ifdefs and easier to get right going forwards.

Agree, this was just a quick fix to solve compilation issues.



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux