把irqdesc添加到sysfs (#525)

* 把irqdesc添加到sysfs
This commit is contained in:
LoGin
2024-02-19 00:56:58 +08:00
committed by GitHub
parent 3bc96fa4a9
commit 196b75dc17
15 changed files with 515 additions and 56 deletions

View File

@ -575,7 +575,7 @@ impl Attribute for AnonAttrPhysAddr {
}
fn support(&self) -> SysFSOpsSupport {
SysFSOpsSupport::SHOW
SysFSOpsSupport::ATTR_SHOW
}
fn show(&self, _kobj: Arc<dyn KObject>, buf: &mut [u8]) -> Result<usize, SystemError> {