mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
The IRQ module documentation displays `include/linux/device.h`, while
the link points to `include/linux/interrupt.h`. The module wraps the IRQ
registration interfaces declared in `include/linux/interrupt.h`, so fix
the displayed header path.
Fixes: 1f54d5e5cd ("rust: irq: add irq module")
Link: https://github.com/Rust-for-Linux/linux/issues/1246
Signed-off-by: Younes Akhouayri <git@younes.io>
Link: https://patch.msgid.link/20260717-docs-irq-rustdoc-header-v1-1-36749192aa04@younes.io
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
25 lines
701 B
Rust
25 lines
701 B
Rust
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
//! IRQ abstractions.
|
|
//!
|
|
//! An IRQ is an interrupt request from a device. It is used to get the CPU's
|
|
//! attention so it can service a hardware event in a timely manner.
|
|
//!
|
|
//! The current abstractions handle IRQ requests and handlers, i.e.: it allows
|
|
//! drivers to register a handler for a given IRQ line.
|
|
//!
|
|
//! C header: [`include/linux/interrupt.h`](srctree/include/linux/interrupt.h)
|
|
|
|
/// Flags to be used when registering IRQ handlers.
|
|
mod flags;
|
|
|
|
/// IRQ allocation and handling.
|
|
mod request;
|
|
|
|
pub use flags::Flags;
|
|
|
|
pub use request::{
|
|
Handler, IrqRequest, IrqReturn, Registration, ThreadedHandler, ThreadedIrqReturn,
|
|
ThreadedRegistration,
|
|
};
|