FUJITA Tomonori 2fe11d5ab3 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>
2023-12-15 09:35:50 +00:00
..
2023-08-14 17:50:02 +02:00
2023-05-31 17:35:03 +02:00
2023-10-12 22:58:52 +02:00
2023-08-21 14:31:48 +02:00
2023-05-31 17:35:03 +02:00
2023-04-22 01:46:45 +02:00
2023-08-29 08:19:46 -07:00
2023-09-25 09:46:42 -10:00