src: Move {pci,pnp}_devfn_t to common 'device/pci_type.h'
commite3682b6c1c14c8ad2253a3e5d19fb7dfe417c018
authorElyes HAOUAS <ehaouas@noos.fr>
Mon, 3 Dec 2018 08:32:31 +0000 (3 09:32 +0100)
committerKyösti Mälkki <kyosti.malkki@gmail.com>
Fri, 4 Jan 2019 12:13:20 +0000 (4 12:13 +0000)
tree40c5089e1b03c7acc853d8b620eace74f5ceaf2b
parentf9e47cc4c2ddefaaa91ddae25449803cdd5243b8
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>
src/arch/arm/include/arch/pci_ops.h
src/arch/arm64/include/arch/pci_ops.h
src/arch/mips/include/arch/pci_ops.h
src/arch/x86/include/arch/io.h
src/include/device/device.h
src/include/device/pci_type.h [copied from src/arch/arm/include/arch/pci_ops.h with 51% similarity]