diff options
author | Takashi Iwai | 2019-02-05 17:57:27 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2019-05-02 09:58:52 +0200 |
commit | 984c4e00c3877d400e8bbe5add6621931fbb358a (patch) | |
tree | 59d7a9654ea6c5839026ef083d86d8fabd063771 /sound/pci/hda/hda_generic.h | |
parent | powerpc/vdso32: fix CLOCK_MONOTONIC on PPC64 (diff) | |
download | kernel-qcow2-linux-984c4e00c3877d400e8bbe5add6621931fbb358a.tar.gz kernel-qcow2-linux-984c4e00c3877d400e8bbe5add6621931fbb358a.tar.xz kernel-qcow2-linux-984c4e00c3877d400e8bbe5add6621931fbb358a.zip |
ALSA: hda/ca0132 - Fix build error without CONFIG_PCI
[ Upstream commit c97617a81a7616d49bc3700959e08c6c6f447093 ]
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@renesas.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound/pci/hda/hda_generic.h')
0 files changed, 0 insertions, 0 deletions