Skip to content

Commit 7f807da

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 aaba47a commit 7f807da

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
@@ -247,7 +247,7 @@ impl Device<CoreInternal> {
247247

248248
impl<Ctx: DeviceContext> Device<Ctx> {
249249
/// Obtain the raw `struct device *`.
250-
pub(crate) fn as_raw(&self) -> *mut bindings::device {
250+
pub fn as_raw(&self) -> *mut bindings::device {
251251
self.0.get()
252252
}
253253

0 commit comments

Comments
 (0)