aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorFUJITA Tomonori <[email protected]>2023-12-13 09:42:09 +0900
committerDavid S. Miller <[email protected]>2023-12-15 09:35:50 +0000
commit2fe11d5ab35daee5e8f5ecf49767ddd3204fdfa9 (patch)
treee3776c61b748e56f446b5d9b0612494799776e00 /tools/testing/selftests/bpf/progs/test_autoload.c
parentf20fd5449ada3872dcd67aca397f0e27ca2e8ad6 (diff)
rust: net::phy add module_phy_driver macro
This macro creates an array of kernel's `struct phy_driver` and registers it. This also corresponds to the kernel's `MODULE_DEVICE_TABLE` macro, which embeds the information for module loading into the module binary file. A PHY driver should use this macro. Signed-off-by: FUJITA Tomonori <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Reviewed-by: Benno Lossin <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Reviewed-by: Trevor Gross <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions