• Vinod Koul's avatar
    ASoC: Intel: Skylake: Add I2C depends for SKL machine · 4b6295b2
    Vinod Koul authored
    The i2c is dependency for the i2c codec drivers, so machine should depend on
    i2c. WIthout this we get build failures if I2C is not selected
    
       sound/soc/codecs/rl6347a.c: In function 'rl6347a_hw_write':
    >> sound/soc/codecs/rl6347a.c:66:8: error: implicit declaration of function
    >> 'i2c_master_send' [-Werror=implicit-function-declaration]
         ret = i2c_master_send(client, data, 4);
               ^
       sound/soc/codecs/rl6347a.c: In function 'rl6347a_hw_read':
    >> sound/soc/codecs/rl6347a.c:114:8: error: implicit declaration of function
    >> 'i2c_transfer' [-Werror=implicit-function-declaration]
         ret = i2c_transfer(client->adapter, xfer, 2);
    Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
    Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    4b6295b2
Name
Last commit
Last update
..
aoa Loading commit data...
arm Loading commit data...
atmel Loading commit data...
core Loading commit data...
drivers Loading commit data...
firewire Loading commit data...
hda Loading commit data...
i2c Loading commit data...
isa Loading commit data...
mips Loading commit data...
oss Loading commit data...
parisc Loading commit data...
pci Loading commit data...
pcmcia Loading commit data...
ppc Loading commit data...
sh Loading commit data...
soc Loading commit data...
sparc Loading commit data...
spi Loading commit data...
synth Loading commit data...
usb Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
ac97_bus.c Loading commit data...
last.c Loading commit data...
sound_core.c Loading commit data...
sound_firmware.c Loading commit data...