Skip to content

Commit 1cfd636

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 f292006 commit 1cfd636

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
@@ -333,7 +333,7 @@ impl Device<Bound> {
333333

334334
impl<Ctx: DeviceContext> Device<Ctx> {
335335
/// Obtain the raw `struct device *`.
336-
pub(crate) fn as_raw(&self) -> *mut bindings::device {
336+
pub fn as_raw(&self) -> *mut bindings::device {
337337
self.0.get()
338338
}
339339

0 commit comments

Comments
 (0)