summaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/ioport.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/kernel/ioport.c')
-rw-r--r--arch/um/kernel/ioport.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/um/kernel/ioport.c b/arch/um/kernel/ioport.c
new file mode 100644
index 000000000..7220615b3
--- /dev/null
+++ b/arch/um/kernel/ioport.c
@@ -0,0 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2021 Intel Corporation
+ * Author: Johannes Berg <johannes@sipsolutions.net>
+ */
+#include <asm/iomap.h>
+#include <asm-generic/pci_iomap.h>
+
+void __iomem *__pci_ioport_map(struct pci_dev *dev, unsigned long port,
+ unsigned int nr)
+{
+ return NULL;
+}