Skip to content

pci.h: Fix static include

Prarit Bhargava requested to merge prarit/kernel-ark:fix_static_include into os-build

Add a static include to avoid a compile error for the RHEL specific PCI
functions.

This fixes the error:

... in function pci_hw_disabled': /home/kernel-ark/./include/linux/pci.h:1495: multiple definition of pci_hw_disabled'; drivers/gpu/drm/nouveau/nvif/object.o:/home/kernel-ark/./include/linux/pci.h:1495: first defined here

Signed-off-by: Prarit Bhargava prarit@redhat.com

Edited by Prarit Bhargava

Merge request reports