Skip to content

Commit 6d7443c

Browse files
author
Sven Van Asbroeck
committed
bcm2835_rng_rust: fix build error caused by PR merge
Fix build error from #273 ("rust: CStr overhaul"). Signed-off-by: Sven Van Asbroeck <[email protected]>
1 parent 4266a32 commit 6d7443c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/char/hw_random/bcm2835_rng_rust.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ impl KernelModule for RngModule {
2828
let of_match_tbl = OfMatchTable::new(&c_str!("brcm,bcm2835-rng"))?;
2929

3030
let pdev = platdev::Registration::new_pinned(
31-
cstr!("bcm2835-rng-rust"),
31+
c_str!("bcm2835-rng-rust"),
3232
Some(of_match_tbl),
3333
&THIS_MODULE,
3434
)?;

0 commit comments

Comments
 (0)