mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
rust: io: mem: enable IoRequest doc-tests
When introduced, the IoRequest doc-tests did depend on infrastructure added in subsequent patches, hence they temporarily had to be disabled. Now that we have the corresponding platform device infrastructure, enable them. Link: https://lore.kernel.org/r/DBG39YMN2TX6.1VR4PEQSI8PSG@kernel.org Signed-off-by: Danilo Krummrich <dakr@kernel.org>
This commit is contained in:
parent
bc4f9045a5
commit
696b2a6ce9
|
|
@ -43,7 +43,7 @@ pub(crate) unsafe fn new(device: &'a Device<Bound>, resource: &'a Resource) -> S
|
|||
/// The following example uses a [`platform::Device`] for illustration
|
||||
/// purposes.
|
||||
///
|
||||
/// ```ignore
|
||||
/// ```no_run
|
||||
/// use kernel::{bindings, c_str, platform, of, device::Core};
|
||||
/// struct SampleDriver;
|
||||
///
|
||||
|
|
@ -101,7 +101,7 @@ pub fn iomap_exclusive_sized<const SIZE: usize>(
|
|||
/// The following example uses a [`platform::Device`] for illustration
|
||||
/// purposes.
|
||||
///
|
||||
/// ```ignore
|
||||
/// ```no_run
|
||||
/// use kernel::{bindings, c_str, platform, of, device::Core};
|
||||
/// struct SampleDriver;
|
||||
///
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user