Commit | Line | Data |
---|---|---|
8326ac05 MO |
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 | ||
a66d733d | 9 | #include <kunit/test.h> |
d2e3115d | 10 | #include <linux/errname.h> |
f20fd544 FT |
11 | #include <linux/ethtool.h> |
12 | #include <linux/mdio.h> | |
13 | #include <linux/phy.h> | |
8326ac05 | 14 | #include <linux/slab.h> |
9dc04365 | 15 | #include <linux/refcount.h> |
19096bce | 16 | #include <linux/wait.h> |
313c4281 | 17 | #include <linux/sched.h> |
d4d791d4 | 18 | #include <linux/workqueue.h> |
8326ac05 MO |
19 | |
20 | /* `bindgen` gets confused at certain things. */ | |
74376656 GG |
21 | const size_t RUST_CONST_HELPER_ARCH_SLAB_MINALIGN = ARCH_SLAB_MINALIGN; |
22 | const gfp_t RUST_CONST_HELPER_GFP_KERNEL = GFP_KERNEL; | |
23 | const gfp_t RUST_CONST_HELPER___GFP_ZERO = __GFP_ZERO; |