On Tue, Oct 22, 2024 at 11:32 PM Danilo Krummrich <dakr@xxxxxxxxxx> wrote: > > In a subsequent patch we introduce the `Registration` abstraction used > to register driver structures. Some subsystems require the module name on > driver registration (e.g. PCI in __pci_register_driver()), hence pass > the module name to `Module::init`. > > Signed-off-by: Danilo Krummrich <dakr@xxxxxxxxxx> The C-side just uses KBUILD_MODNAME for this. Could we do something similar? Alice