https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d9f9cb247cfab7692befe96b71bebdf7e5e424c5

commit d9f9cb247cfab7692befe96b71bebdf7e5e424c5
Author:     Thomas Faber <[email protected]>
AuthorDate: Fri Jul 5 17:38:04 2019 +0200
Commit:     Thomas Faber <[email protected]>
CommitDate: Sun Jul 7 08:18:12 2019 +0200

    [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  */
 

Reply via email to