Skip to content

Commit

Permalink
bcm2835_rng_rust: fix build error from torvalds#273 ("rust: CStr over…
Browse files Browse the repository at this point in the history
…haul")

Signed-off-by: Sven Van Asbroeck <thesven73@gmail.com>
  • Loading branch information
Sven Van Asbroeck committed May 26, 2021
1 parent 9754b5f commit 5181f95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/hw_random/bcm2835_rng_rust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ impl KernelModule for RngModule {
let of_match_tbl = OfMatchTable::new(&c_str!("brcm,bcm2835-rng"))?;

let pdev = platdev::Registration::new_pinned(
cstr!("bcm2835-rng-rust"),
c_str!("bcm2835-rng-rust"),
Some(of_match_tbl),
&THIS_MODULE,
)?;
Expand Down

0 comments on commit 5181f95

Please sign in to comment.