diff options
| author | Gary Guo <gary@garyguo.net> | 2026-09-01 17:50:40 +0100 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-09-06 13:39:49 +0200 |
| commit | a12f711dc53c1ca1d7ff4184e1609182174de87b (patch) | |
| tree | e7ec407f553a0c9ab1dfe56ed1349ad0a448eef4 /scripts/Makefile.thinlto | |
| parent | a8ab43a1089e289b58d303a1c10d0f81284087e7 (diff) | |
| download | linux-next-a12f711dc53c1ca1d7ff4184e1609182174de87b.tar.gz linux-next-a12f711dc53c1ca1d7ff4184e1609182174de87b.zip | |
rust: io: register: unify handling of register with/without bitfields
Move the `FixedRegister` from a property of register to become a property
of type. Name the new trait `FixedIoLoc` indicating if I/O location of a
type is unique for a specific base. Thus, bitfields become just a special
case of this (where type is unique because we're generating it in the
register macro), and expose feature to registers without inline bitfield
definition with the `#[unique]` attribute.
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Gary Guo <gary@garyguo.net>
Tested-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://patch.msgid.link/20260901-typed_register-v4-16-5552b1d59525@garyguo.net
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
