diff options
author | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2023-12-13 03:42:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-12-15 12:35:50 +0300 |
commit | 2fe11d5ab35daee5e8f5ecf49767ddd3204fdfa9 (patch) | |
tree | e3776c61b748e56f446b5d9b0612494799776e00 /.clang-format | |
parent | f20fd5449ada3872dcd67aca397f0e27ca2e8ad6 (diff) | |
download | linux-2fe11d5ab35daee5e8f5ecf49767ddd3204fdfa9.tar.xz |
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 <fujita.tomonori@gmail.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Trevor Gross <tmgross@umich.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions