mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
error: name `GPIOInterruptDisabled` contains a capitalized acronym Error: --> devices/src/legacy/gpio_pl061.rs:46:5 | 46 | GPIOInterruptDisabled, | ^^^^^^^^^^^^^^^^^^^^^ help: consider making the acronym lowercase, except the initial letter: `GpioInterruptDisabled` | = note: `-D clippy::upper-case-acronyms` implied by `-D warnings` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms Signed-off-by: Rob Bradford <robert.bradford@intel.com>
36 lines
1008 B
Rust
36 lines
1008 B
Rust
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
// Portions Copyright 2017 The Chromium OS Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE-BSD-3-Clause file.
|
|
|
|
#[cfg(feature = "cmos")]
|
|
mod cmos;
|
|
#[cfg(feature = "fwdebug")]
|
|
mod fwdebug;
|
|
#[cfg(target_arch = "aarch64")]
|
|
mod gpio_pl061;
|
|
mod i8042;
|
|
#[cfg(target_arch = "aarch64")]
|
|
mod rtc_pl031;
|
|
mod serial;
|
|
#[cfg(target_arch = "aarch64")]
|
|
mod uart_pl011;
|
|
|
|
#[cfg(feature = "cmos")]
|
|
pub use self::cmos::Cmos;
|
|
#[cfg(feature = "fwdebug")]
|
|
pub use self::fwdebug::FwDebugDevice;
|
|
pub use self::i8042::I8042Device;
|
|
pub use self::serial::Serial;
|
|
|
|
#[cfg(target_arch = "aarch64")]
|
|
pub use self::gpio_pl061::Error as GpioDeviceError;
|
|
#[cfg(target_arch = "aarch64")]
|
|
pub use self::gpio_pl061::Gpio;
|
|
#[cfg(target_arch = "aarch64")]
|
|
pub use self::rtc_pl031::Rtc;
|
|
#[cfg(target_arch = "aarch64")]
|
|
pub use self::uart_pl011::Pl011;
|