summaryrefslogtreecommitdiff
path: root/src/include/device/device.h
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-12-03 09:32:31 +0100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-01-04 12:13:20 +0000
commite3682b6c1c14c8ad2253a3e5d19fb7dfe417c018 (patch)
tree40c5089e1b03c7acc853d8b620eace74f5ceaf2b /src/include/device/device.h
parentf9e47cc4c2ddefaaa91ddae25449803cdd5243b8 (diff)
src: Move {pci,pnp}_devfn_t to common 'device/pci_type.h'
Definitions of these types are arch-agnostic. Shared device subsystem files cannot include arch/pci_ops.h for ARM and arch/io.h for x86. Change-Id: I6a3deea676308e2dc703b5e06558b05235191044 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/29947 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/include/device/device.h')
-rw-r--r--src/include/device/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h
index c2f8ecefd7..5e539ea339 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -14,6 +14,7 @@
#include <rules.h>
#include <device/resource.h>
#include <device/path.h>
+#include <device/pci_type.h>
#include <arch/io.h>
struct device;