xref: /linux/rust/bindings/bindings_helper.h (revision 7255fcc80d4b525cc10cfaaf7f485830d4ed2000)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Header that contains the code (mostly headers) for which Rust bindings
4  * will be automatically generated by `bindgen`.
5  *
6  * Sorted alphabetically.
7  */
8 
9 #include <kunit/test.h>
10 #include <linux/errname.h>
11 #include <linux/ethtool.h>
12 #include <linux/jiffies.h>
13 #include <linux/mdio.h>
14 #include <linux/phy.h>
15 #include <linux/refcount.h>
16 #include <linux/sched.h>
17 #include <linux/slab.h>
18 #include <linux/wait.h>
19 #include <linux/workqueue.h>
20 
21 /* `bindgen` gets confused at certain things. */
22 const size_t RUST_CONST_HELPER_ARCH_SLAB_MINALIGN = ARCH_SLAB_MINALIGN;
23 const gfp_t RUST_CONST_HELPER_GFP_KERNEL = GFP_KERNEL;
24 const gfp_t RUST_CONST_HELPER___GFP_ZERO = __GFP_ZERO;
25