Skip to content

Commit 73046c6

Browse files
RuoqingHelikebreath
authored andcommitted
vfio-bindings: Rename bindings_v5_0_0 module
Rename `bindings_v5_0_0` module to `vfio_bindings` as we only want to maintain one version of `vfio_bindings` simultaneously. Signed-off-by: Ruoqing He <[email protected]>
1 parent 6bc3c50 commit 73046c6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

vfio-bindings/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ extern crate vmm_sys_util;
99
mod fam_wrappers;
1010

1111
#[cfg(feature = "vfio-v5_0_0")]
12-
mod bindings_v5_0_0;
12+
mod vfio_bindings;
1313

1414
// Default to latest version if no version is specified by using the features.
1515
#[cfg(not(feature = "vfio-v5_0_0"))]
16-
mod bindings_v5_0_0;
16+
mod vfio_bindings;
1717

1818
pub mod bindings {
1919
#[cfg(feature = "vfio-v5_0_0")]
20-
pub use super::bindings_v5_0_0::*;
20+
pub use super::vfio_bindings::*;
2121

2222
#[cfg(not(feature = "vfio-v5_0_0"))]
23-
pub use super::bindings_v5_0_0::*;
23+
pub use super::vfio_bindings::*;
2424

2525
#[cfg(feature = "fam-wrappers")]
2626
pub use super::fam_wrappers::*;
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)