[alsa-devel] [PATCH] ALSA: hda/ca0132 - Fix build error without CONFIG_PCI

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Wed Feb 6 01:17:09 CET 2019


Hi Takashi-san

> A call of pci_iounmap() call without CONFIG_PCI leads to a build error
> on some architectures.  We tried to address this and add a check of
> IS_ENABLED(CONFIG_PCI), but this still doesn't seem enough for sh.
> Ideally we should fix it globally, it's really a corner case, so let's
> paper over it with a simpler ifdef.
> 
> Fixes: 1e73359a24fa ("ALSA: hda/ca0132 - make pci_iounmap() call conditional")
> Reported-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> Signed-off-by: Takashi Iwai <tiwai at suse.de>
> ---

Thanks.
It solved my SH compile issue !!

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list