Re: [PATCH net-next v10 2/4] rust: net::phy add module_phy_driver macro
From: Andrew Lunn <andrew@lunn.ch>
Date: 2023-12-11 14:01:21
Also in:
rust-for-linux
From: Andrew Lunn <andrew@lunn.ch>
Date: 2023-12-11 14:01:21
Also in:
rust-for-linux
On Mon, Dec 11, 2023 at 08:49:22AM +0900, FUJITA Tomonori wrote:
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 <redacted>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew