From d9f9cb247cfab7692befe96b71bebdf7e5e424c5 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Fri, 5 Jul 2019 17:38:04 +0200 Subject: [PATCH] [PCI] The INIT section must be uppercase. --- drivers/bus/pci/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/pci/pci.c b/drivers/bus/pci/pci.c index 4933b591293..5395982747d 100644 --- a/drivers/bus/pci/pci.c +++ b/drivers/bus/pci/pci.c @@ -32,7 +32,7 @@ static NTSTATUS NTAPI PciPnpControl(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) // Make the initialization routines discardable, so that they // don't waste space -#pragma alloc_text(init, DriverEntry) +#pragma alloc_text(INIT, DriverEntry) #endif /* ALLOC_PRAGMA */