Skip to content

Commit a4d9e2a

Browse files
committed
rust: pci: fix a bug where build would fail when PCI is disabled
When building with allnoconfig, dmapool definitions are not picked up by bindgen. Fix that. Reported-by: Philipp Stanner <[email protected]> Signed-off-by: Andreas Hindborg <[email protected]>
1 parent 6b4367b commit a4d9e2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rust/bindings/bindings_helper.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#include <kunit/test.h>
1010
#include <linux/device.h>
11+
#include <linux/dmapool.h>
1112
#include <linux/errname.h>
1213
#include <linux/ethtool.h>
1314
#include <linux/interrupt.h>

0 commit comments

Comments
 (0)