2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 02:34:01 +08:00
linux-next/sound/hda/ext
Vinod Koul 42f2bb1c49 ALSA: hdac: Explicitly add io.h
Compiling the hdac extended core on arm fails with below error:

  sound/hda/ext/hdac_ext_bus.c: In function 'hdac_ext_writel':
>> sound/hda/ext/hdac_ext_bus.c:29:2: error: implicit declaration of
>> function
+'writel' [-Werror=implicit-function-declaration]
     writel(value, addr);
     ^
   sound/hda/ext/hdac_ext_bus.c: In function 'hdac_ext_readl':
>> sound/hda/ext/hdac_ext_bus.c:34:2: error: implicit declaration of
>> function
+'readl' [-Werror=implicit-function-declaration]
     return readl(addr);

This is fixed by explicitly including io.h

Fixes: 99463b3a39 - ('ALSA: hda: provide default bus io ops extended hdac')
Reported-by: kbuild test robot <lkp@intel.com>
Suggested-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-10-13 11:33:45 +02:00
..
hdac_ext_bus.c ALSA: hdac: Explicitly add io.h 2015-10-13 11:33:45 +02:00
hdac_ext_controller.c ALSA: hdac: Add snd_hdac_ext_bus_link_power_down_all() 2015-08-21 19:28:18 +02:00
hdac_ext_stream.c ALSA: hdac: fix the spbmaxfifo API 2015-08-23 09:43:26 +02:00
Makefile ALSA: hdac_ext: add extended stream capabilities 2015-06-11 11:59:22 +02:00