aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-11-27 14:14:05 +0100
committerTakashi Iwai <tiwai@suse.de>2018-11-27 14:14:05 +0100
commit85574e21a1ef50afe8e6cb7ff43211e52767fce9 (patch)
treef27fbb4dc742d8fee3b0aeadffabb06f864656fc
parent50764c817b98fa521e0cd7cbe2caf2fd1d931826 (diff)
downloadhda-emu-85574e21a1ef50afe8e6cb7ff43211e52767fce9.tar.gz
Add pci_iounmap() wrapper
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--include/linux/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 167b400..ad58824 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -46,5 +46,6 @@ static inline void *pci_iomap(struct pci_dev *pci, int bar, int offset)
}
static inline void iounmap(void *addr) {}
+static inline void pci_iounmap(struct pci_dev *pci, void *addr) {}
#endif /* __LINUX_PCI_H */