mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-01-30 04:19:20 +00:00
Remove sync requirements of pci device trait
It's not needed. BUG=chromium:831850 TEST=cargo test Change-Id: I7e38590271ec14db422f5f3421302e98a2ca19ab Reviewed-on: https://chromium-review.googlesource.com/1194317 Commit-Ready: Jingkui Wang <jkwang@google.com> Tested-by: Jingkui Wang <jkwang@google.com> Reviewed-by: Dylan Reid <dgreid@chromium.org>
This commit is contained in:
parent
bce85fe345
commit
b47c6925fb
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ pub enum Error {
|
|||
}
|
||||
pub type Result<T> = std::result::Result<T, Error>;
|
||||
|
||||
pub trait PciDevice: Send + Sync {
|
||||
pub trait PciDevice: Send {
|
||||
/// Assign a legacy PCI IRQ to this device.
|
||||
fn assign_irq(&mut self, _irq_evt: EventFd, _irq_num: u32, _irq_pin: PciInterruptPin) {}
|
||||
/// Allocates the needed IO BAR space using the `allocate` function which takes a size and
|
||||
|
|
Loading…
Reference in a new issue