diff options
| author | Gary Guo <gary@garyguo.net> | 2026-09-01 17:50:35 +0100 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-09-06 13:39:49 +0200 |
| commit | c09d3a26e1b810d43ee8a15c4f09ee752fee55a6 (patch) | |
| tree | 9148f1c715d304b66ec90352cfc788890539585f /scripts/Makefile.thinlto | |
| parent | 4f620881808e9d3d951343e2edc9c8c41286391a (diff) | |
| download | linux-next-c09d3a26e1b810d43ee8a15c4f09ee752fee55a6.tar.gz linux-next-c09d3a26e1b810d43ee8a15c4f09ee752fee55a6.zip | |
rust: io: register: support fixed offset register without bitfield
Add a rule to allow creating `IoLoc` in `register!()` using an existing
type and not create a bitfield. Add an example to demonstrate this for FIFO
registers.
This rule is also going to be used to create subregions for registers; the
example of doing so will be added later when relative registers are
removed.
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-11-5552b1d59525@garyguo.net
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
