Skip to content

Commit

Permalink
dwcsdhc: Fix POOL_ZERO_DOWN_LEVEL_SUPPORT (#10)
Browse files Browse the repository at this point in the history
The POOL_ZERO_DOWN_LEVEL_SUPPORT macro only works if it is set before
including `<ntddk.h>`, so move it up.
  • Loading branch information
idigdoug authored Nov 23, 2023
1 parent 6fd0aab commit 68534be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/sd/dwcsdhc/precomp.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#pragma once

#define POOL_ZERO_DOWN_LEVEL_SUPPORT

#include <Ntddk.h>

extern "C" {
Expand All @@ -21,5 +23,3 @@ extern "C" {

#define INIT_SEGMENT_END \
__pragma(code_seg(pop))

#define POOL_ZERO_DOWN_LEVEL_SUPPORT

0 comments on commit 68534be

Please sign in to comment.