forked from M-Labs/zynq-rs
1
0
Fork 0

sdio: change Adma2Desc32 alignment from 1 to 4

this should not break anything.
This commit is contained in:
Astro 2020-06-09 23:35:57 +02:00 committed by Gitea
parent a1a211334f
commit b942cdcbc8
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ use super::SDIO;
use libcortex_a9::cache; use libcortex_a9::cache;
use libregister::RegisterR; use libregister::RegisterR;
#[repr(C, packed)] #[repr(C, align(4))]
#[derive(Clone, Copy)] #[derive(Clone, Copy)]
pub struct Adma2Desc32 { pub struct Adma2Desc32 {
attribute: u16, attribute: u16,