refactor: move pl011/pl031 to be separate features
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
use crate::dev::Device;
|
||||
|
||||
#[cfg(feature = "pl031")]
|
||||
pub mod pl031;
|
||||
|
||||
// TODO define what RTC devices can do
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
use crate::dev::Device;
|
||||
use error::Errno;
|
||||
|
||||
#[cfg(feature = "pl011")]
|
||||
pub mod pl011;
|
||||
|
||||
/// Generic interface for serial devices
|
||||
|
||||
Reference in New Issue
Block a user