1 2 3 4 5 6 7 8 9 10 11 12 13 14
#![no_std] extern crate alloc; pub use rdif_base::_rdif_prelude::*; use rdif_base::def_driver; pub trait Interface: DriverGeneric { fn setup_irq_by_fdt(&mut self, _irq_prop: &[u32]) -> IrqId { unimplemented!(); } } def_driver!(Intc, Interface);