You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For modpost to work, we need the device id table to be named as follow:
__mod_{type}__{name}_device_table
In C, this is done by calling MODULE_DEVICE_TABLE(type, name), which declares
a new symbol that aliases to `name`.
As far as I know it is not possible to create such aliases in Rust, so
here we instead create a new static variable which contains a copy of the
device_id tables, but without the extra `id_infos` used on the Rust
side.
Signed-off-by: Fabien Parent <[email protected]>
0 commit comments