Skip to content

Commit 7f010ed

Browse files
WhatAmISupposedToPutHerejannau
authored andcommitted
rust: device: WIP(?): Make as_raw() public for AOP series
Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com> Signed-off-by: Janne Grunau <j@jannau.net>
1 parent 51aa6c2 commit 7f010ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/kernel/device.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ impl Device {
6767

6868
impl<Ctx: DeviceContext> Device<Ctx> {
6969
/// Obtain the raw `struct device *`.
70-
pub(crate) fn as_raw(&self) -> *mut bindings::device {
70+
pub fn as_raw(&self) -> *mut bindings::device {
7171
self.0.get()
7272
}
7373

0 commit comments

Comments
 (0)