diff options
| author | Lee Jones <[email protected]> | 2024-12-10 09:39:02 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-12-16 15:12:34 +0000 |
| commit | 284ae0be4dcafff0a154c1e69e7430c144a7ddc2 (patch) | |
| tree | 9c51223039af8413237737347f3d62ef4837d52b /rust/helpers/signal.c | |
| parent | rust: miscdevice: access the `struct miscdevice` from fops->open() (diff) | |
| download | kernel-284ae0be4dcafff0a154c1e69e7430c144a7ddc2.tar.gz kernel-284ae0be4dcafff0a154c1e69e7430c144a7ddc2.zip | |
rust: miscdevice: Provide accessor to pull out miscdevice::this_device
There are situations where a pointer to a `struct device` will become
necessary (e.g. for calling into dev_*() functions). This accessor
allows callers to pull this out from the `struct miscdevice`.
Signed-off-by: Lee Jones <[email protected]>
Signed-off-by: Alice Ryhl <[email protected]>
Tested-by: Lee Jones <[email protected]>
Reviewed-by: Danilo Krummrich <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'rust/helpers/signal.c')
0 files changed, 0 insertions, 0 deletions
