diff options
author | Jani Nikula <jani.nikula@intel.com> | 2022-03-11 12:06:38 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2022-03-14 17:57:00 +0200 |
commit | 5f1b97cb9af6c5471825b16306ad7da419cda563 (patch) | |
tree | 386254f08d4986d7a1d52283fbf43c6f902d995a /arch/x86/kernel/early-quirks.c | |
parent | dd7ae6b3e857f230a804ce8706700891e526cc64 (diff) | |
download | lwn-5f1b97cb9af6c5471825b16306ad7da419cda563.tar.gz lwn-5f1b97cb9af6c5471825b16306ad7da419cda563.zip |
x86/gpu: include drm/i915_pciids.h directly in early quirks
early-quirks.c is the only user of drm/i915_drm.h that also needs
drm/i915_pciids.h. Include the masses of PCI ID macros only where
needed.
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: linux-pci@vger.kernel.org
Cc: x86@kernel.org
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220311100639.114685-1-jani.nikula@intel.com
Diffstat (limited to 'arch/x86/kernel/early-quirks.c')
-rw-r--r-- | arch/x86/kernel/early-quirks.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-quirks.c index bd6dad83c65b..805596736e20 100644 --- a/arch/x86/kernel/early-quirks.c +++ b/arch/x86/kernel/early-quirks.c @@ -18,6 +18,7 @@ #include <linux/bcma/bcma_regs.h> #include <linux/platform_data/x86/apple.h> #include <drm/i915_drm.h> +#include <drm/i915_pciids.h> #include <asm/pci-direct.h> #include <asm/dma.h> #include <asm/io_apic.h> |