Skip to content

Commit

Permalink
rust: pci: fix a bug where build would fail when PCI is disabled
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
metaspace committed Feb 16, 2024
1 parent fbc1475 commit 8b2f30f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rust/bindings/bindings_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <kunit/test.h>
#include <linux/device.h>
#include <linux/dmapool.h>
#include <linux/errname.h>
#include <linux/ethtool.h>
#include <linux/interrupt.h>
Expand Down

0 comments on commit 8b2f30f

Please sign in to comment.