diff options
| author | Daniel Almeida <[email protected]> | 2025-07-17 15:55:22 +0000 |
|---|---|---|
| committer | Danilo Krummrich <[email protected]> | 2025-07-20 17:43:04 +0000 |
| commit | 493fc33ec25294cb2e444dfa77c105aa774c83f2 (patch) | |
| tree | cc3402f763e4847a0b6ce05a9363b8169467972f /drivers/platform/x86/intel/pmt/class.c | |
| parent | rust: samples: dma: set DMA mask (diff) | |
| download | kernel-493fc33ec25294cb2e444dfa77c105aa774c83f2.tar.gz kernel-493fc33ec25294cb2e444dfa77c105aa774c83f2.zip | |
rust: io: add resource abstraction
In preparation for ioremap support, add a Rust abstraction for struct
resource.
A future commit will introduce the Rust API to ioremap a resource from a
platform device. The current abstraction, therefore, adds only the
minimum API needed to get that done.
Acked-by: Miguel Ojeda <[email protected]>
Reviewed-by: Alice Ryhl <[email protected]>
Co-developed-by: Fiona Behrens <[email protected]>
Signed-off-by: Fiona Behrens <[email protected]>
Signed-off-by: Daniel Almeida <[email protected]>
Link: https://lore.kernel.org/r/20250717-topics-tyr-platform_iomem-v15-1-beca780b77e3@collabora.com
[ Capitalize safety comments and end it with a period. - Danilo ]
Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
