Function attached_device
pub(crate) fn attached_device(mtd: u32) -> Result<Option<u32>, DeviceError>Available on crate feature
linux and (Android or Linux) only.Expand description
Returns the index of the UBI device attached to MTD device mtd.