1 // SPDX-License-Identifier: GPL-2.0 2 3 //! Firmware bindings. 4 //! 5 //! Imports the generated bindings by `bindgen`. 6 //! 7 //! This module may not be directly used. Please abstract or re-export the needed symbols in the 8 //! parent module instead. 9 10 #![cfg_attr(test, allow(deref_nullptr))] 11 #![cfg_attr(test, allow(unaligned_references))] 12 #![cfg_attr(test, allow(unsafe_op_in_unsafe_fn))] 13 #![allow( 14 dead_code, 15 unused_imports, 16 clippy::all, 17 clippy::undocumented_unsafe_blocks, 18 clippy::ptr_as_ptr, 19 clippy::ref_as_ptr, 20 missing_docs, 21 non_camel_case_types, 22 non_upper_case_globals, 23 non_snake_case, 24 improper_ctypes, 25 unreachable_pub, 26 unsafe_op_in_unsafe_fn 27 )] 28 use kernel::ffi; 29 include!("r570_144/bindings.rs"); 30