forked from M-Labs/zynq-rs
sdio: change Adma2Desc32 alignment from 1 to 4
this should not break anything.
This commit is contained in:
parent
a1a211334f
commit
b942cdcbc8
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user