diff options
| -rw-r--r-- | drivers/pwm/pwm_th1520.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pwm/pwm_th1520.rs b/drivers/pwm/pwm_th1520.rs index 71b80761ec31..21b4bdaf0607 100644 --- a/drivers/pwm/pwm_th1520.rs +++ b/drivers/pwm/pwm_th1520.rs @@ -22,7 +22,6 @@ use core::ops::Deref; use kernel::{ - c_str, clk::Clk, device::{Bound, Core, Device}, devres, @@ -327,7 +326,7 @@ kernel::of_device_table!( OF_TABLE, MODULE_OF_TABLE, <Th1520PwmPlatformDriver as platform::Driver>::IdInfo, - [(of::DeviceId::new(c_str!("thead,th1520-pwm")), ())] + [(of::DeviceId::new(c"thead,th1520-pwm"), ())] ); impl platform::Driver for Th1520PwmPlatformDriver { |
