summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2023-11-29 16:16:07 +1000
committerDave Airlie <airlied@redhat.com>2023-11-29 16:16:07 +1000
commit9e81179bfa0ce972cc1f9b147ec784195ca2c0ad (patch)
tree25a5699e5d36c28b9a476f2d70974da4437fc5ab
parent52deb6825ca441a7cddf9d025cabb66e4f47f8f6 (diff)
rust: add firmware.h to bindgen
-rw-r--r--rust/bindings/bindings_helper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/bindings/bindings_helper.h b/rust/bindings/bindings_helper.h
index 34c4ccee3fc8..b969e73bdbb9 100644
--- a/rust/bindings/bindings_helper.h
+++ b/rust/bindings/bindings_helper.h
@@ -17,6 +17,7 @@
#include <linux/refcount.h>
#include <linux/wait.h>
#include <linux/sched.h>
+#include <linux/firmware.h>
/* `bindgen` gets confused at certain things. */
const size_t BINDINGS_ARCH_SLAB_MINALIGN = ARCH_SLAB_MINALIGN;