ALSA: hda: Fix implicit definition of pci_iomap() on SH
authorMark Brown <broonie@kernel.org>
Wed, 12 Sep 2018 11:31:32 +0000 (12:31 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 12 Sep 2018 11:43:38 +0000 (12:43 +0100)
Include asm/io.h directly so we've got a definition of pci_iomap(), the
current set of includes do this implicitly on most architectures but not
on SH.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/pci/hda/patch_ca0132.c

index a585d0ec6d7729bd7283e18d2711c55fe9cd6d71..6ea04f8898096bf0f8689d966219760a78762fcf 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/types.h>
 #include <linux/io.h>
 #include <linux/pci.h>
+#include <asm/io.h>
 #include <sound/core.h>
 #include <sound/hda_codec.h>
 #include "hda_local.h"